@@ -138,28 +138,28 @@ const tests = [
138138 '--features-include=A' ,
139139 'collateral/test/**/*.js' ,
140140 ] ,
141- { cwd : 'test' , recordsCount : 6 } ,
141+ { cwd : 'test' , recordsCount : 7 } ,
142142 ] ,
143143 [
144144 [
145145 '--features-exclude=B' ,
146146 'collateral/test/**/*.js' ,
147147 ] ,
148- { cwd : 'test' , recordsCount : 14 } ,
148+ { cwd : 'test' , recordsCount : 13 } ,
149149 ] ,
150150 [
151151 [
152152 '--features-include=A,B' ,
153153 'collateral/test/**/*.js' ,
154154 ] ,
155- { cwd : 'test' , recordsCount : 8 } ,
155+ { cwd : 'test' , recordsCount : 9 } ,
156156 ] ,
157157 [
158158 [
159159 '--features-exclude=A,B' ,
160160 'collateral/test/**/*.js' ,
161161 ] ,
162- { cwd : 'test' , recordsCount : 16 } ,
162+ { cwd : 'test' , recordsCount : 9 } ,
163163 ] ,
164164 [
165165 [
@@ -169,6 +169,14 @@ const tests = [
169169 ] ,
170170 { cwd : 'test' , recordsCount : 4 } ,
171171 ] ,
172+ [
173+ [
174+ '--features-include=A,B,C' ,
175+ '--features-exclude=C' ,
176+ 'collateral/test/**/*.js' ,
177+ ] ,
178+ { cwd : 'test' , recordsCount : 6 } ,
179+ ] ,
172180] . reduce ( ( accum , a ) => {
173181 let b = a . slice ( ) ;
174182
@@ -204,7 +212,7 @@ function validate({ args, records, exitCode, options }) {
204212
205213 if ( options . reporter === 'json' ) {
206214 if ( options . recordsCount ) {
207- tap . test ( '--features-include/exclude' , assert => {
215+ tap . test ( `\` ${ args . join ( ' ' ) } \`: ${ options . recordsCount } test records found` , assert => {
208216 assert . equal ( records . length , options . recordsCount , 'records.length matches expected records count' ) ;
209217 assert . end ( ) ;
210218 } ) ;
0 commit comments