5 lines
133 B
Raku
5 lines
133 B
Raku
(expect "when - true condition"
|
|
(equal 'ok (when t 'ok)))
|
|
|
|
(expect "when - false condition"
|
|
(null (when nil 'fail)))
|