@@ -72,7 +72,7 @@ test('Retrieve file from single glob', async t => {
72
72
test ( 'Retrieve multiple files from single glob' , async t => {
73
73
const globbedAssets = await globAssets ( [ 'test/fixtures/*.txt' ] ) ;
74
74
75
- t . deepEqual ( globbedAssets , [ 'test/fixtures/upload .txt' , 'test/fixtures/upload_other .txt' ] ) ;
75
+ t . deepEqual ( globbedAssets , [ 'test/fixtures/upload_other .txt' , 'test/fixtures/upload .txt' ] ) ;
76
76
} ) ;
77
77
78
78
test ( 'Accept glob array with one value' , async t => {
@@ -97,8 +97,8 @@ test('Replace name by filename for Object that match multiple files', async t =>
97
97
const globbedAssets = await globAssets ( [ { path : 'test/fixtures/*.txt' , name : 'upload_name' , label : 'Upload label' } ] ) ;
98
98
99
99
t . deepEqual ( globbedAssets , [
100
- { path : 'test/fixtures/upload_other.txt' , name : 'upload_other.txt' , label : 'Upload label' } ,
101
100
{ path : 'test/fixtures/upload.txt' , name : 'upload.txt' , label : 'Upload label' } ,
101
+ { path : 'test/fixtures/upload_other.txt' , name : 'upload_other.txt' , label : 'Upload label' } ,
102
102
] ) ;
103
103
} ) ;
104
104
@@ -129,7 +129,7 @@ test('Accept negated globs', async t => {
129
129
test ( 'Expand directories' , async t => {
130
130
const globbedAssets = await globAssets ( [ [ 'test/fixtures' ] ] ) ;
131
131
132
- t . deepEqual ( globbedAssets , [ 'test/fixtures/upload .txt' , 'test/fixtures/upload_other .txt' , 'test/fixtures/.dotfile' ] ) ;
132
+ t . deepEqual ( globbedAssets , [ 'test/fixtures/upload_other .txt' , 'test/fixtures/upload .txt' , 'test/fixtures/.dotfile' ] ) ;
133
133
} ) ;
134
134
135
135
test ( 'Include empty directory as defined' , async t => {
0 commit comments