We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d769e6 commit fa85607Copy full SHA for fa85607
test/test.sh
@@ -79,5 +79,11 @@ TEST_NUM=9
79
assert "$DIFF" $LINENO $TEST_NUM
80
echo "+ test $TEST_NUM to execute command on every line passed"
81
82
+cat test_files/numbers.txt | ../vims -r '^1$' 'dd' > .tmp
83
+DIFF=$(diff -b .tmp test_files/numbers_delete_all_not_1.txt)
84
+TEST_NUM=10
85
+assert "$DIFF" $LINENO $TEST_NUM
86
+echo "+ test $TEST_NUM to delete all numbers not 1 passed"
87
+
88
echo "+ tests all passed"
89
rm .tmp
0 commit comments