Skip to content
Myr

Add error checking on missing test case

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by DJRHails · committed by David Peter · parent bbf3d0d · Browse files · 1 file+18 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+18 added−0 removed

  • tests:+18 added−0 removed

1 file+18 added−0 removed

modified:tests/tests.rs+18 added
126 unmodified lines
127 &["a.foo", "real", "fake"],128 "real/a.foo",129 );130131 te.assert_error(132 &["a.foo", "real", "fake"],133 "[fd error]: Search path 'fake' is not a directory.",134 );135136 te.assert_output(137 &["", "real", "fake"],138 "real/a.foo139 real/b.foo",
3 unmodified lines
143 &["", "real", "fake1", "fake2"],144 "real/a.foo145 real/b.foo",146 );147148 te.assert_error(149 &["", "real", "fake1", "fake2"],150 "[fd error]: Search path 'fake1' is not a directory.151 [fd error]: Search path 'fake2' is not a directory.",152 );153154 te.assert_failure_with_error(155 &["", "fake1", "fake2"],156 "[fd error]: Search path 'fake1' is not a directory.157 [fd error]: Search path 'fake2' is not a directory.158 [fd error]: No valid search paths given.",159 );160}161162/// Explicit root path163#[test]
1453 unmodified lines