return try

This commit is contained in:
nora 2022-01-18 21:43:16 +01:00
parent f2bff066c6
commit 6a8eb89381
8 changed files with 86 additions and 11 deletions

25
tests/functions.rs Normal file
View file

@ -0,0 +1,25 @@
mod common;
run_test!(
single_call,
r#"
fn test() {
print "correct";
}
test();
"#
);
run_test!(
single_call_expect_return,
r#"
fn test() {
print "correct1";
}
test();
print "correct2";
"#
);