Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Korbinian Eckstein committed Jul 22, 2024
1 parent 7003733 commit ce5aa9b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion niivue/test/DiffNames.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ test('diff names of test and test2', () => {
).toEqual(['verysuperendlesslongnametest1', 'verysuperendlesslongnametest2'])
expect(differenceInNames(['test1.nii', 'test2.nii'])).toEqual(['test1', 'test2'])
expect(differenceInNames(['qsm_test1', 'qsm_test2'])).toEqual(['test1', 'test2'])
expect(differenceInNames(['Glu.nii.gz', 'Gln.nii.gz'])).toEqual(['Glu', 'Gln'])

// for security reasons only the filename is available, but not the folder name
expect(differenceInNames(['/folder1/qsm_test1', '/folder2/qsm_test2'])).toEqual([
'folder1 - test1',
'folder2 - test2',
Expand All @@ -17,5 +20,5 @@ test('diff names of test and test2', () => {
'folder1',
'folder2',
])
expect(differenceInNames(['Glu.nii.gz', 'Gln.nii.gz'])).toEqual(['Glu', 'Gln'])

})

0 comments on commit ce5aa9b

Please sign in to comment.