Skip to content

Commit 78b192c

Browse files
committed
update tests
1 parent 1bc0f75 commit 78b192c

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ env/
77

88
lib/bids-matlab
99

10+
coverage_html
11+
coverage.xml
12+
test_report.log
13+
14+
1015

1116
## MATLAB / OCTAVE gitignore template
1217

run_tests.m

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
% (C) Copyright 2019 spm_2_bids developers
22

3-
warning('OFF');
4-
5-
spm('defaults', 'fMRI');
6-
73
folderToCover = fullfile(pwd, 'src');
84
testFolder = fullfile(pwd, 'tests');
95

tests/test_mapping.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function test_find_mapping()
3939
map = map.default();
4040
idx = map.find_mapping('prefix', 'rp_');
4141

42-
assertEqual(find(idx), 10);
42+
assertEqual(find(idx), 12);
4343

4444
end
4545

0 commit comments

Comments
 (0)