Skip to content

Commit

Permalink
Improve tests with more specific assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian committed Oct 4, 2018
1 parent f7ac6f8 commit 57c839b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/__tests__/bids_files.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ describe('bids_files', () => {
},
}
const match = checkSidecarForDatafiles(file, fileList)
assert(match == true)
assert.isTrue(match)
})

it('does not match invalid datafile formats', () => {
Expand All @@ -32,7 +32,7 @@ describe('bids_files', () => {
},
}
const match = checkSidecarForDatafiles(file, fileList)
assert(match == false)
assert.isFalse(match)
})
})
})

0 comments on commit 57c839b

Please sign in to comment.