aboutsummaryrefslogtreecommitdiffstats
path: root/tests/scripts.rs
blob: 2a7a6f8619deefef17ea41d07e694b43dc8358aa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! This file is generated by running `bash test-cases/generate.sh` - do not manually adjust.
mod common;

#[test]
fn case0() {
    common::test_case("case0", include_bytes!("../test-cases/case0/script.sh"), include_bytes!("../test-cases/case0/stdout.txt"));
}

#[test]
fn case1() {
    common::test_case("case1", include_bytes!("../test-cases/case1/script.sh"), include_bytes!("../test-cases/case1/stdout.txt"));
}

#[test]
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]
fn comment() {
    common::test_case("comment", include_bytes!("../test-cases/comment/script.sh"), include_bytes!("../test-cases/comment/stdout.txt"));
}

#[test]
fn fun0() {
    common::test_case("fun0", include_bytes!("../test-cases/fun0/script.sh"), include_bytes!("../test-cases/fun0/stdout.txt"));
}

#[test]
fn semicolon() {
    common::test_case("semicolon", include_bytes!("../test-cases/semicolon/script.sh"), include_bytes!("../test-cases/semicolon/stdout.txt"));
}

#[test]
fn variables() {
    common::test_case("variables", include_bytes!("../test-cases/variables/script.sh"), include_bytes!("../test-cases/variables/stdout.txt"));
}