summaryrefslogtreecommitdiff
path: root/Examples/test-suite/octave/li_factory_runme.m
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/octave/li_factory_runme.m')
-rw-r--r--Examples/test-suite/octave/li_factory_runme.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Examples/test-suite/octave/li_factory_runme.m b/Examples/test-suite/octave/li_factory_runme.m
index 5ea9b779f..7c07825f4 100644
--- a/Examples/test-suite/octave/li_factory_runme.m
+++ b/Examples/test-suite/octave/li_factory_runme.m
@@ -8,11 +8,11 @@ li_factory
circle = Geometry_create(Geometry.CIRCLE);
r = circle.radius();
if (r != 1.5)
- error
+ error("failed");
endif
point = Geometry_create(Geometry.POINT);
w = point.width();
if (w != 1.0)
- error
+ error("failed");
endif