[GSOC][PATCH v2 1/3]t4018-diff-funcname: use test_grep instead of test_i18ngrep
Signed-off-by: Sergius Nyah <sergiusnyah@gmail.com>
---
t/t4018-diff-funcname.sh | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/t/t4018-diff-funcname.sh b/t/t4018-diff-funcname.sh
index d35cce18a0..e6d2f1c215 100755
--- a/t/t4018-diff-funcname.sh
+++ b/t/t4018-diff-funcname.sh
@@ -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
+
--
2.43.2