Skip to content

Commit

Permalink
Add cli test for input file not found
Browse files Browse the repository at this point in the history
  • Loading branch information
imaqtkatt committed Jul 11, 2024
1 parent 47f7cfd commit 2f8062b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/golden_tests/cli/input_file_not_found.args
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
run
tests/golden_tests/missing_dir/input_file_not_found.bend
Empty file.
6 changes: 6 additions & 0 deletions tests/snapshots/cli__input_file_not_found.bend.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
source: tests/golden_tests.rs
input_file: tests/golden_tests/cli/input_file_not_found.bend
---
Errors:
The file 'tests/golden_tests/missing_dir/input_file_not_found.bend' was not found.

0 comments on commit 2f8062b

Please sign in to comment.