Commit afeef577 authored by Marco Berzborn's avatar Marco Berzborn

quick fix for bug in test_ita_parse_arguments

parent 0009cd58
...@@ -32,14 +32,14 @@ end ...@@ -32,14 +32,14 @@ end
%% test moving unknown options to second output %% test moving unknown options to second output
struct.testpar = 1; testStruct.testpar = 1;
struct.testpar2 = 2; testStruct.testpar2 = 2;
parCell = {'testpar', 2, 'testpar2', 4,'unknown', 6}; parCell = {'testpar', 2, 'testpar2', 4,'unknown', 6};
% this should give a warning % this should give a warning
[sArgs] = ita_parse_arguments(struct,parCell); [sArgs] = ita_parse_arguments(testStruct,parCell);
% this should not % this should not
[sArgs,unknownParams] = ita_parse_arguments(struct,parCell); [sArgs,unknownParams] = ita_parse_arguments(testStruct,parCell);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment