Skip to content
Snippets Groups Projects
Commit 531bd4b0 authored by Daniel Hornung's avatar Daniel Hornung
Browse files

FIX: Exception assertion fixed.

parent 0c71cdd5
No related branches found
No related tags found
1 merge request!1Integration tests for minimal functionality
...@@ -17,5 +17,9 @@ function test_connection() ...@@ -17,5 +17,9 @@ function test_connection()
% This connection should fail % This connection should fail
c3 = Caosdb(connection = "does-not-exist"); c3 = Caosdb(connection = "does-not-exist");
assertExceptionThrown("c3.info", "16"); if moxunit_util_platform_is_octave()
assertExceptionThrown(@()c3.info());
else
assertExceptionThrown(@()c3.info(),"16");
end
end end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment