Add new acceptance test 101 capturing type mismatch at runtime.

This commit is contained in:
KtorZ
2024-05-05 19:27:09 +02:00
committed by Kasey
parent 0a660c6a21
commit 967f4348ed
3 changed files with 58 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
use aiken/fuzz
test prop_option_distribution(opt via fuzz.option(fuzz.int())) {
fuzz.label(
when opt is {
None -> @"None"
Some(..) -> @"Some"
},
)
True
}