Skip to content

Commit 11cc7fb

Browse files
committed
cleanup
1 parent 6478e49 commit 11cc7fb

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

test/fixtures/types-test-util.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,6 @@ function setupArrayParamsTests (ctx, handler, def, types, param, buildBodyFuncti
140140
body[param.name].push(typeValue(ctx, arrayItemType));
141141
body[param.name].push(typeValue(ctx, arrayItemType));
142142
body[param.name].push(typeValue(ctx, arrayItemType));
143-
144-
// e.g. body parameter "env" should be an array of strings
145-
var regexp = 'body parameter "' + param.name + '" ' + errorMessageSuffix(param.type, arrayItemType) +
146-
' of ' + param.itemType + 's';
147-
148143
regexp = '"env" should match';
149144
var message = new RegExp(regexp);
150145
var cb = expects.error(400, message, done);

0 commit comments

Comments
 (0)