Fix test win64b: test_run('graphics', 'contour2d')
[scilab.git] / scilab / modules / graphics / tests / nonreg_tests / bug_3362.dia.ref
index e9ffc95..fa2ba0c 100644 (file)
@@ -13,6 +13,6 @@
 // <-- Short Description -->
 //    problem with incorrect legend in plot2d
 t=(1:10)';
-if execstr("plot2d(t,t^2,leg=''s@'')",'errcatch')<>0 then bugmes();quit;end
-if execstr("plot2d(t,t^2,leg=''s@s1'')",'errcatch')<>0 then bugmes();quit;end
-if execstr("plot2d(t,[t^2 t^3],leg=''s'')",'errcatch')<>0 then bugmes();quit;end
+assert_checktrue(execstr("plot2d(t,t.^2,leg=''s@'')",'errcatch') == 0);
+assert_checktrue(execstr("plot2d(t,t.^2,leg=''s@s1'')",'errcatch') == 0);
+assert_checktrue(execstr("plot2d(t,[t.^2 t.^3],leg=''s'')",'errcatch') == 0);