@@ -119,8 +119,6 @@ do
"
done
-test_done
-
test_expect_success 'identify builtin patterns in JavaScript' '
# setup
echo "function myFunction() { return true; }" > test.js &&
@@ -136,9 +134,11 @@ test_expect_success 'identify builtin patterns in JavaScript' '
git diff >output &&
# check results
- test_i18ngrep "function myFunction() { return true; }" output &&
- test_i18ngrep "function myFunction() { return false; }" output &&
- test_i18ngrep "var myVar = function() { return false; }" output &&
- test_i18ngrep "var myVar = function() { return true; }" output
+ test_grep "function myFunction() { return true; }" output &&
+ test_grep "function myFunction() { return false; }" output &&
+ test_grep "var myVar = function() { return false; }" output &&
+ test_grep "var myVar = function() { return true; }" output
'
-test_done
\ No newline at end of file
+
+test_done
+
Signed-off-by: Sergius Nyah <sergiusnyah@gmail.com> --- t/t4018-diff-funcname.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) -- 2.43.2