Skip to content

Commit 66b1f47

Browse files
committed
fix failing test
1 parent 5fc1ef5 commit 66b1f47

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/batches/setBatchImageCalculation.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
parse(p, varargin{:});
6363

6464
if ~ismember(p.Results.dataType, allowedDataType)
65-
fprintf(1, '\t%s\n', string(allowedDataType));
65+
fprintf(1, '\t%s\n', char(allowedDataType));
6666
errorStruct.identifier = [mfilename ':invalidDatatype'];
6767
errorStruct.message = 'dataType must be one of the type mentionned above.';
6868
error(errorStruct);

tests/test_setBatchImageCalculation.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ function test_setBatchImageCalculationBasic()
2626

2727
assertEqual(matlabbatch, expectedBatch);
2828

29-
assertExceptionThrown( ...
30-
@()setBatchImageCalculation(matlabbatch, ...
29+
assertExceptionThrown(@()setBatchImageCalculation(matlabbatch, ...
3130
input, ...
3231
output, ...
3332
outDir, ...

0 commit comments

Comments
 (0)