Parse tests as private functions.

They actually are private; we can't export / import tests. Fixes #284.
This commit is contained in:
KtorZ
2023-01-20 12:50:07 +01:00
parent 61be8ca73e
commit ce65236514
9 changed files with 24 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
fn spend(_datum: Void, _redeemer: Void, _ctx: Void) -> Bool {
True
}
test foo() {
1 + 1 == 2
}