aboutsummaryrefslogtreecommitdiff
path: root/tests/object.nom
diff options
context:
space:
mode:
Diffstat (limited to 'tests/object.nom')
-rw-r--r--tests/object.nom2
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)