mirror of
https://github.com/logos-storage/questionable.git
synced 2026-01-02 13:53:11 +00:00
Fix: unused variable
This commit is contained in:
parent
9e3a822877
commit
cbdd882b9f
@ -306,7 +306,8 @@ suite "result":
|
||||
|
||||
test "without statement with error works in nested generic calls":
|
||||
proc works(_: type int): ?!int =
|
||||
without _ =? int.failure "error1", err:
|
||||
without _ =? int.failure "error1", error:
|
||||
check error.msg == "error1"
|
||||
return success 42
|
||||
|
||||
proc fails(_: type int): ?!int =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user