File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ test('columns: dev', (t) => {
2323
2424 const css = fs . readFileSync ( `${ __dirname } /../css/columns/name-size-date.css` , 'utf8' ) ;
2525
26- t . ok ( columns [ 'name-size-date' ] . includes ( css ) ) ;
26+ t . match ( columns [ 'name-size-date' ] , css ) ;
2727 t . end ( ) ;
2828} ) ;
2929
@@ -35,6 +35,6 @@ test('columns: no args', (t) => {
3535 const css = fs . readFileSync ( `${ __dirname } /../css/columns/name-size-date.css` , 'utf8' ) ;
3636 isDev ( currentIsDev ) ;
3737
38- t . ok ( columns [ 'name-size-date' ] . includes ( css ) ) ;
38+ t . match ( columns [ 'name-size-date' ] , css ) ;
3939 t . end ( ) ;
4040} ) ;
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ test('themes: dev', (t) => {
1414
1515 const css = fs . readFileSync ( `${ __dirname } /../css/themes/dark.css` , 'utf8' ) ;
1616
17- t . ok ( themes . dark . includes ( css ) ) ;
17+ t . match ( themes . dark , css ) ;
1818 t . end ( ) ;
1919} ) ;
2020
@@ -26,6 +26,6 @@ test('themes: no args', (t) => {
2626 const css = fs . readFileSync ( `${ __dirname } /../css/themes/light.css` , 'utf8' ) ;
2727 isDev ( currentIsDev ) ;
2828
29- t . ok ( themes . light . includes ( css ) ) ;
29+ t . match ( themes . light , css ) ;
3030 t . end ( ) ;
3131} ) ;
You can’t perform that action at this time.
0 commit comments