Skip to content

Commit

Permalink
Fix weird syntax error bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cressie176 committed Mar 15, 2021
1 parent 408ec85 commit 9eb7e8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/config.tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,7 @@ describe('Configuration', function() {
assert.equal(config.vhosts.v1.bindings.b1.destination, 'q1');
assert.ok(/\w+-\w+-\w+-\w+-\w+\.foo\.bar\.#/.test(config.vhosts.v1.bindings.b1.bindingKey), format('%s failed to match expected pattern', config.vhosts.v1.bindings.b1.bindingKey));
});
}),
});

it('should configure multiple bindings from an array of binding keys', function() {
configure({
Expand Down Expand Up @@ -1016,7 +1016,7 @@ describe('Configuration', function() {
assert.equal(config.vhosts.v1.bindings['b1'].destination, 'q1');
assert.equal(config.vhosts.v1.bindings['b1'].bindingKey, 'a');
});
}),
});

it('should support a mixed array of names / objects configuration', function() {
configure({
Expand Down

0 comments on commit 9eb7e8c

Please sign in to comment.