# HG changeset patch
# User Sean Farley <sean@farley.io>
# Date 1503002669 25200
#      Thu Aug 17 13:44:29 2017 -0700
# Node ID 7decccb79f8ad13211c5755924f1c2076d480cd4
# Parent  986fbbc53ab6557d917b95b61c4d86af8ce21e17
tests: update test-renames.t for new git output

diff --git a/tests/test-renames.t b/tests/test-renames.t
--- a/tests/test-renames.t
+++ b/tests/test-renames.t
@@ -46,7 +46,11 @@
   $ sed -e 's/path = gitsubmodule/path = gitsubmodule2/' .gitmodules > .gitmodules-new
   $ mv .gitmodules-new .gitmodules
   $ mv gitsubmodule gitsubmodule2
-  $ git add .gitmodules gitsubmodule2
+
+Previous versions of git did not produce any output but 2.14 changed the output
+to warn the user about submodules
+
+  $ git add .gitmodules gitsubmodule2 2>/dev/null
   $ git rm --cached gitsubmodule
   rm 'gitsubmodule'
   $ fn_git_commit -m 'move submodule'