add more tests

This commit is contained in:
nora 2022-04-24 20:06:53 +02:00
parent 61fa5434f9
commit 386ed99810
24 changed files with 61 additions and 31 deletions

View file

@ -23,3 +23,21 @@ test();
print "correct2";
"#
);
run_test!(
multiple_calls,
r#"
fn test1() {
print "correct1";
}
fn test2() {
print "correct2";
}
test1();
test2();
print "correct3";
"#
);