diff options
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/grep.tests | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/grep.tests b/testsuite/grep.tests index 412efff..74b0eb6 100755 --- a/testsuite/grep.tests +++ b/testsuite/grep.tests @@ -159,6 +159,12 @@ testing "grep -w ^ doesn't hang" \ "anything\n" \ "" +testing "grep -w word doesn't match wordword" \ + "grep -w word input" \ + "" \ + "wordword\n" \ + "" + # testing "test name" "commands" "expected result" "file input" "stdin" # file input will be file called "input" # test can create a file "actual" instead of writing to stdout |