diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-06-04 17:23:02 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-06-04 17:23:13 -0700 |
| commit | e7bdc35aa82339f0734ec7014d2da0459ff0462d (patch) | |
| tree | fbd04f75c4a75210e80b86c480e5dc15508968e9 /tests/object.nom | |
| parent | 7cd4f276b7b80e269569d775238606004edf1330 (diff) | |
Cleanups to try/catch logic and object logic.
Diffstat (limited to 'tests/object.nom')
| -rw-r--r-- | tests/object.nom | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/object.nom b/tests/object.nom index aeeb559..041b784 100644 --- a/tests/object.nom +++ b/tests/object.nom @@ -26,9 +26,9 @@ as: new "Dog" {barks:1} action [foo] as: new "Dog" {barks:23} return: (me).barks - barf "Reached unreachable code" assume: (foo) = 23 +..or barf: "Oops, \(foo) != 23" as: new "Dog" {barks:101} try: as (new "Dog" {barks:8}) (barf) |
