fix: port last missing test

This test has been added after the first implementation, so we move it
to the new format :)
This commit is contained in:
Cainã Costa
2023-07-11 11:19:56 -03:00
committed by Lucas
parent 7f7a86765d
commit 14652abd4f
2 changed files with 18 additions and 5 deletions

View File

@@ -0,0 +1,15 @@
---
source: crates/aiken-lang/src/tests/format.rs
description: "Code:\n\nconst i = 42\n\nconst j = -14\n\nfn foo() {\n when y is {\n 14 -> -14\n -42 -> 42\n }\n}\n"
---
const i = 42
const j = -14
fn foo() {
when y is {
14 -> -14
-42 -> 42
}
}