Skip to content

Commit

Permalink
merge: 153 upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
Ph0enixKM committed Jun 6, 2024
2 parents 9b4c8a2 + f8ac7b2 commit dd785ae
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/tests/validity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1048,3 +1048,13 @@ fn variable_ref_function_invocation() {
";
test_amber!(code, "\"sram\"");
}

#[test]
fn main_args() {
let code = "
main(args) {
if args is [Text] { echo \"ok\" }
}
";
test_amber!(code, "ok")
}

0 comments on commit dd785ae

Please sign in to comment.