@@ -72,7 +72,7 @@ test('Retrieve file from single glob', async t => {
7272test ( 'Retrieve multiple files from single glob' , async t => {
7373 const globbedAssets = await globAssets ( [ 'test/fixtures/*.txt' ] ) ;
7474
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' ] ) ;
7676} ) ;
7777
7878test ( '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 =>
9797 const globbedAssets = await globAssets ( [ { path : 'test/fixtures/*.txt' , name : 'upload_name' , label : 'Upload label' } ] ) ;
9898
9999 t . deepEqual ( globbedAssets , [
100- { path : 'test/fixtures/upload_other.txt' , name : 'upload_other.txt' , label : 'Upload label' } ,
101100 { 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' } ,
102102 ] ) ;
103103} ) ;
104104
@@ -129,7 +129,7 @@ test('Accept negated globs', async t => {
129129test ( 'Expand directories' , async t => {
130130 const globbedAssets = await globAssets ( [ [ 'test/fixtures' ] ] ) ;
131131
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' ] ) ;
133133} ) ;
134134
135135test ( 'Include empty directory as defined' , async t => {
0 commit comments