File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ function assertJasmineSuites() {
4040
4141 } ) ;
4242
43- log ( logs ) ;
43+ log ( 'no jasmine suites focus/exclude blocks' , logs ) ;
4444 } ) ;
4545}
4646
@@ -70,7 +70,7 @@ function assertHeaders() {
7070 }
7171 } ) ;
7272
73- log ( logs ) ;
73+ log ( 'correct headers in lib/ and src/' , logs ) ;
7474 } ) ;
7575}
7676
@@ -91,7 +91,7 @@ function assertFileNames() {
9191 }
9292 } ) ;
9393
94- log ( logs ) ;
94+ log ( 'lower case only file names' , logs ) ;
9595 } ) ;
9696
9797}
@@ -113,12 +113,16 @@ function assertCircularDeps() {
113113
114114 log ( 'circular dependencies' , logs ) ;
115115}
116+
116117function combineGlobs ( arr ) {
117118 return '{' + arr . join ( ',' ) + '}' ;
118119}
119120
120- function log ( logs ) {
121+ function log ( name , logs ) {
121122 if ( logs . length ) {
123+ console . error ( 'test-syntax error [' + name + ']\n' ) ;
122124 throw new Error ( '\n' + logs . join ( '\n' ) + '\n' ) ;
123125 }
126+
127+ console . log ( 'ok ' + name ) ;
124128}
You can’t perform that action at this time.
0 commit comments