t7406: fix call that was failing for the wrong reason
authorElijah Newren <redacted>
Wed, 8 Aug 2018 16:31:03 +0000 (09:31 -0700)
committerJunio C Hamano <redacted>
Wed, 8 Aug 2018 17:52:55 +0000 (10:52 -0700)
commit0df90bdd12f57b03ac3ff7d16926c56a8f3d4682
treee57a2bd9fc9c4f5bed1b655cdfb82a032332952b
parent1d89318c48d233d52f1db230cf622935ac3c69fa
t7406: fix call that was failing for the wrong reason

A test making use of test_must_fail was failing like this:
  fatal: ambiguous argument '|': unknown revision or path not in the working tree.
when the intent was to verify that a specific string was not found
in the output of the git diff command, i.e. that grep returned
non-zero.  Fix the test to do that.

Signed-off-by: Elijah Newren <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t7406-submodule-update.sh
git clone https://git.99rst.org/PROJECT