File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -76,13 +76,13 @@ describe('detect', () => {
7676 it ( 'should detect labels in a local file' , async ( ) => {
7777 const output = execSync ( `${ cmd } labels ${ files [ 4 ] . localPath } ` ) ;
7878 assert . match ( output , / L a b e l s : / ) ;
79- assert . match ( output , / c a t / ) ;
79+ assert . match ( output . toLowerCase ( ) , / c a t / ) ;
8080 } ) ;
8181
8282 it ( 'should detect labels in a remote file' , async ( ) => {
8383 const output = execSync ( `${ cmd } labels-gcs ${ bucketName } ${ files [ 4 ] . name } ` ) ;
8484 assert . match ( output , / L a b e l s : / ) ;
85- assert . match ( output , / c a t / ) ;
85+ assert . match ( output . toLowerCase ( ) , / c a t / ) ;
8686 } ) ;
8787
8888 it ( 'should detect landmarks in a local file' , async ( ) => {
Original file line number Diff line number Diff line change @@ -24,6 +24,6 @@ describe('quickstart', () => {
2424 it ( 'should detect labels in a remote file' , async ( ) => {
2525 const stdout = execSync ( 'node quickstart.js' ) ;
2626 assert . match ( stdout , / L a b e l s : / ) ;
27- assert . match ( stdout , / c a t / ) ;
27+ assert . match ( stdout . toLowerCase ( ) , / c a t / ) ;
2828 } ) ;
2929} ) ;
You can’t perform that action at this time.
0 commit comments