summaryrefslogtreecommitdiff
path: root/Examples/test-suite/octave/smart_pointer_templatevariables_runme.m
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/octave/smart_pointer_templatevariables_runme.m')
-rw-r--r--Examples/test-suite/octave/smart_pointer_templatevariables_runme.m8
1 files changed, 4 insertions, 4 deletions
diff --git a/Examples/test-suite/octave/smart_pointer_templatevariables_runme.m b/Examples/test-suite/octave/smart_pointer_templatevariables_runme.m
index 4884fa24b..ee45f68f9 100644
--- a/Examples/test-suite/octave/smart_pointer_templatevariables_runme.m
+++ b/Examples/test-suite/octave/smart_pointer_templatevariables_runme.m
@@ -3,17 +3,17 @@ smart_pointer_templatevariables
d = DiffImContainerPtr_D(create(1234, 5678));
if (d.id != 1234)
- error
+ error("failed");
endif
#if (d.xyz != 5678):
-# error
+# error("failed");
d.id = 4321;
#d.xyz = 8765
if (d.id != 4321)
- error
+ error("failed");
endif
#if (d.xyz != 8765):
-# error
+# error("failed");