Skip to content

Commit 6478e49

Browse files
committed
tweak test error message pattern matching
1 parent cfe19e0 commit 6478e49

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/instances/post/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ describe('POST /instances', function () {
321321
}]
322322
};
323323
ctx.user.createInstance(json,
324-
expects.errorStatus(400, /should be an array of strings/, done));
324+
expects.errorStatus(400, /"env" should match/, done));
325325
});
326326
it('should filter empty/whitespace-only strings from env array', function (done) {
327327
var json = {

0 commit comments

Comments
 (0)