Skip to content

Commit ac066ce

Browse files
committed
Fix test_handle_nonexistent_relative_paths_as_input test
Update test expectation to match new error message format. The error now occurs during file content reading rather than input parsing, which is the correct behavior for relative paths.
1 parent 2e31400 commit ac066ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lychee-bin/tests/cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1660,7 +1660,7 @@ mod cli {
16601660
.arg("./NOT-A-REAL-TEST-FIXTURE.md")
16611661
.assert()
16621662
.failure()
1663-
.stderr(contains("Invalid file path: ./NOT-A-REAL-TEST-FIXTURE.md"));
1663+
.stderr(contains("Cannot read input content from file `./NOT-A-REAL-TEST-FIXTURE.md`"));
16641664

16651665
Ok(())
16661666
}

0 commit comments

Comments
 (0)