Add new acceptance test 101 capturing type mismatch at runtime.
This commit is contained in:
11
examples/acceptance_tests/101/lib/foo.ak
Normal file
11
examples/acceptance_tests/101/lib/foo.ak
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user