diff options
| author | Jonas Maier <jonas@x77.dev> | 2026-06-02 22:00:57 +0200 |
|---|---|---|
| committer | Jonas Maier <jonas@x77.dev> | 2026-06-02 22:00:57 +0200 |
| commit | 10defcf9f7132bdcc88c1fe32d9550a0d5952042 (patch) | |
| tree | a12085cedd489bec1e73abb2c368474471894d42 /tests | |
| parent | dbca276ac60af603209f62dcc2e0e1fcfbebae11 (diff) | |
| download | pish-10defcf9f7132bdcc88c1fe32d9550a0d5952042.tar.gz | |
split lookahead tests into positive and negative
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/scripts.rs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/scripts.rs b/tests/scripts.rs index 945a506..2a7a6f8 100644 --- a/tests/scripts.rs +++ b/tests/scripts.rs @@ -12,8 +12,13 @@ fn case1() { } #[test] -fn case2_lookahead() { - common::test_case("case2_lookahead", include_bytes!("../test-cases/case2_lookahead/script.sh"), include_bytes!("../test-cases/case2_lookahead/stdout.txt")); +fn case2_positive_lookahead() { + common::test_case("case2_positive_lookahead", include_bytes!("../test-cases/case2_positive_lookahead/script.sh"), include_bytes!("../test-cases/case2_positive_lookahead/stdout.txt")); +} + +#[test] +fn case3_negative_lookahead() { + common::test_case("case3_negative_lookahead", include_bytes!("../test-cases/case3_negative_lookahead/script.sh"), include_bytes!("../test-cases/case3_negative_lookahead/stdout.txt")); } #[test] |
