From 10defcf9f7132bdcc88c1fe32d9550a0d5952042 Mon Sep 17 00:00:00 2001 From: Jonas Maier Date: Tue, 2 Jun 2026 22:00:57 +0200 Subject: split lookahead tests into positive and negative --- tests/scripts.rs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'tests/scripts.rs') 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] -- cgit v1.2.3