Skip to content

Commit

Permalink
try to see full error message
Browse files Browse the repository at this point in the history
  • Loading branch information
taylormcd committed Oct 25, 2021
1 parent a6ebc70 commit 0bd72cd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/jlevalTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
assert(exist("mexjulia", "file") == 3)

%% Test 1: Single Return Argument
result = jl.eval('2+2');
try
result = jl.eval('2+2');
catch err
disp(getReport(err,'extended'));
end
assert(result == 4)

%% Test 2: Multiple Return Arguments
Expand Down

0 comments on commit 0bd72cd

Please sign in to comment.