Update readme test

This commit is contained in:
Mark Spanbroek 2021-03-09 09:42:35 +01:00
parent 8a5ff10244
commit 0e166a6e81
1 changed files with 5 additions and 0 deletions

View File

@ -130,3 +130,8 @@ suite "result":
check x == 42.success
let y = parseInt("XX").catch
check y.isErr
# Conversion to Option
let converted = works().toOption
check converted == @[1, 1, 2, 2, 2].some