the_silver_searcher/tests/bad_path.t
Lukas Senger 52dcb048d8 Adjust other tests
Test searches that shouldn't produce results now need "[1]" as expected
output to catch the non-zero exit code.
2014-08-06 17:48:37 +02:00

10 lines
205 B
Perl

Setup:
$ . $TESTDIR/setup.sh
Complain about nonexistent path:
$ ag foo doesnt_exist
ERR: Error stat()ing: doesnt_exist
ERR: Error opening directory doesnt_exist: No such file or directory
[1]