aboutsummaryrefslogtreecommitdiffstats
path: root/tests/scripts.rs
diff options
context:
space:
mode:
authorJonas Maier <jonas@x77.dev>2026-06-02 17:40:28 +0200
committerJonas Maier <jonas@x77.dev>2026-06-02 17:40:28 +0200
commitfda08e286d3eeca8db598bcd3dd1802e99209363 (patch)
tree14028ebaa69ee59ef2affe446b8791f0da92c238 /tests/scripts.rs
parente1f64a93c0246d7832a308c756b654965fe3710d (diff)
downloadpish-fda08e286d3eeca8db598bcd3dd1802e99209363.tar.gz
lookahead, implemented wrong
Diffstat (limited to 'tests/scripts.rs')
-rw-r--r--tests/scripts.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/scripts.rs b/tests/scripts.rs
index 8ee5f0e..945a506 100644
--- a/tests/scripts.rs
+++ b/tests/scripts.rs
@@ -12,6 +12,11 @@ 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"));
+}
+
+#[test]
fn comment() {
common::test_case("comment", include_bytes!("../test-cases/comment/script.sh"), include_bytes!("../test-cases/comment/stdout.txt"));
}