summaryrefslogtreecommitdiff
path: root/Examples/test-suite/octave/smart_pointer_typedef_runme.m
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/octave/smart_pointer_typedef_runme.m')
-rw-r--r--Examples/test-suite/octave/smart_pointer_typedef_runme.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Examples/test-suite/octave/smart_pointer_typedef_runme.m b/Examples/test-suite/octave/smart_pointer_typedef_runme.m
index 0e1c8a61e..3a094670f 100644
--- a/Examples/test-suite/octave/smart_pointer_typedef_runme.m
+++ b/Examples/test-suite/octave/smart_pointer_typedef_runme.m
@@ -10,11 +10,11 @@ b = Bar(f);
b.x = 3;
if (b.getx() != 3)
- error
+ error("failed");
endif
fp = b.__deref__();
fp.x = 4;
if (fp.getx() != 4)
- error
+ error("failed");
endif