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() {
40
40
41
41
} ) ;
42
42
43
- log ( logs ) ;
43
+ log ( 'no jasmine suites focus/exclude blocks' , logs ) ;
44
44
} ) ;
45
45
}
46
46
@@ -70,7 +70,7 @@ function assertHeaders() {
70
70
}
71
71
} ) ;
72
72
73
- log ( logs ) ;
73
+ log ( 'correct headers in lib/ and src/' , logs ) ;
74
74
} ) ;
75
75
}
76
76
@@ -91,7 +91,7 @@ function assertFileNames() {
91
91
}
92
92
} ) ;
93
93
94
- log ( logs ) ;
94
+ log ( 'lower case only file names' , logs ) ;
95
95
} ) ;
96
96
97
97
}
@@ -113,12 +113,16 @@ function assertCircularDeps() {
113
113
114
114
log ( 'circular dependencies' , logs ) ;
115
115
}
116
+
116
117
function combineGlobs ( arr ) {
117
118
return '{' + arr . join ( ',' ) + '}' ;
118
119
}
119
120
120
- function log ( logs ) {
121
+ function log ( name , logs ) {
121
122
if ( logs . length ) {
123
+ console . error ( 'test-syntax error [' + name + ']\n' ) ;
122
124
throw new Error ( '\n' + logs . join ( '\n' ) + '\n' ) ;
123
125
}
126
+
127
+ console . log ( 'ok ' + name ) ;
124
128
}
You can’t perform that action at this time.
0 commit comments