Skip to content

Commit

Permalink
Expect non-HED datasets to raise HED warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Oct 30, 2024
1 parent fb90f77 commit 2632820
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bids-validator/tests/bids.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ describe('BIDS example datasets ', function () {
expect(summary.modalities).toEqual(['MRI'])
assert(summary.totalFiles === 135)
assert.deepEqual(errors.length, 1)
assert(warnings.length === 3)
assert(warnings.length === 4)
assert(
warnings.findIndex((warning) => warning.code === 13) > -1,
'warnings do not contain a code 13',
Expand Down Expand Up @@ -137,7 +137,7 @@ describe('BIDS example datasets ', function () {
errors.findIndex((error) => error.code === 60) > -1,
'errors do not contain a code 60',
)
assert.deepEqual(warnings.length, 4)
assert.deepEqual(warnings.length, 5)
assert(
warnings.findIndex((warning) => warning.code === 13) > -1,
'warnings do not contain a code 13',
Expand Down Expand Up @@ -219,7 +219,7 @@ describe('BIDS example datasets ', function () {
assert(summary.modalities.includes('MRI'))
assert(summary.totalFiles === 135)
assert.deepEqual(errors.length, 1)
assert(warnings.length === 3)
assert(warnings.length === 4)
assert(
warnings.findIndex((warning) => warning.code === 13) > -1,
'warnings do not contain a code 13',
Expand All @@ -243,7 +243,7 @@ describe('BIDS example datasets ', function () {
assert(summary.modalities.includes('MRI'))
assert(summary.totalFiles === 135)
assert.deepEqual(errors.length, 2)
assert(warnings.length === 3)
assert(warnings.length === 4)
assert(
warnings.findIndex((warning) => warning.code === 13) > -1,
'warnings do not contain a code 13',
Expand Down

0 comments on commit 2632820

Please sign in to comment.