# HG changeset patch # User Carnë Draug # Date 1458410744 0 # Node ID 7f7d7cb73e0d9deef9088713b23b0cc66916e6f7 # Parent 65d1daa7d7a7d5f102a76bb2315d6ea738e699e8 inputParser.m: uncomment failing test and use %!xtest instead. diff -r 65d1daa7d7a7 -r 7f7d7cb73e0d scripts/general/inputParser.m --- a/scripts/general/inputParser.m Sat Mar 19 13:48:34 2016 -0400 +++ b/scripts/general/inputParser.m Sat Mar 19 18:05:44 2016 +0000 @@ -590,9 +590,9 @@ %! assert (p.Results.positive, -1) ## FIXME: This somehow works in Matlab -#%!test -#%! p = inputParser; -#%! p.addOptional ("op1", "val"); -#%! p.addParamValue ("line", "tree"); -#%! p.parse ("line", "circle"); -#%! assert (p.Results, struct ("op1", "val", "line", "circle")); +%!xtest +%! p = inputParser; +%! p.addOptional ("op1", "val"); +%! p.addParamValue ("line", "tree"); +%! p.parse ("line", "circle"); +%! assert (p.Results, struct ("op1", "val", "line", "circle"));