@@ -5180,26 +5180,26 @@ describe('File', () => {
51805180 const result = File . from ( gsUrl , STORAGE ) ;
51815181
51825182 assert ( result ) ;
5183- assert ( result . bucket . name , 'mybucket' ) ;
5184- assert ( result . name , 'myfile' ) ;
5183+ assert . strictEqual ( result . bucket . name , 'mybucket' ) ;
5184+ assert . strictEqual ( result . name , 'myfile' ) ;
51855185 } ) ;
51865186
51875187 it ( 'should create a File object from a gs:// formatted URL including a folder' , ( ) => {
51885188 const gsUrl = 'gs://mybucket/myfolder/myfile' ;
51895189 const result = File . from ( gsUrl , STORAGE ) ;
51905190
51915191 assert ( result ) ;
5192- assert ( result . bucket . name , 'mybucket' ) ;
5193- assert ( result . name , 'myfolder/myfile' ) ;
5192+ assert . strictEqual ( result . bucket . name , 'mybucket' ) ;
5193+ assert . strictEqual ( result . name , 'myfolder/myfile' ) ;
51945194 } ) ;
51955195
51965196 it ( 'should create a File object from a https:// formatted URL' , ( ) => {
51975197 const httpsUrl = 'https://storage.googleapis.com/mybucket/myfile' ;
51985198 const result = File . from ( httpsUrl , STORAGE ) ;
51995199
52005200 assert ( result ) ;
5201- assert ( result . bucket . name , 'mybucket' ) ;
5202- assert ( result . name , 'myfile' ) ;
5201+ assert . strictEqual ( result . bucket . name , 'mybucket' ) ;
5202+ assert . strictEqual ( result . name , 'myfile' ) ;
52035203 } ) ;
52045204
52055205 it ( 'should create a File object from a https:// formatted URL including a folder' , ( ) => {
@@ -5208,8 +5208,8 @@ describe('File', () => {
52085208 const result = File . from ( httpsUrl , STORAGE ) ;
52095209
52105210 assert ( result ) ;
5211- assert ( result . bucket . name , 'mybucket' ) ;
5212- assert ( result . name , 'myfolder/myfile' ) ;
5211+ assert . strictEqual ( result . bucket . name , 'mybucket' ) ;
5212+ assert . strictEqual ( result . name , 'myfolder/myfile' ) ;
52135213 } ) ;
52145214
52155215 it ( 'should throw an error when invoked with an incorrectly formatted URL' , ( ) => {
0 commit comments