Skip to content
This repository has been archived by the owner on Jan 12, 2022. It is now read-only.

Commit

Permalink
Tests: Fix regex that would cause erroneous test failures.
Browse files Browse the repository at this point in the history
  • Loading branch information
msiebuhr committed Aug 8, 2013
1 parent 2273d5a commit 6b2f953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/StatsDClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ describe('StatsDClient', function () {
assert.lengthOf(sentMessages, 1);
assert.match(
sentMessages[0],
/foo:2\d\|ms/
/foo:[12]\d\|ms/
);

// Expect it anyway, as we need to clean up the packet list.
Expand Down

0 comments on commit 6b2f953

Please sign in to comment.