Skip to content

Commit 2ef0c4a

Browse files
committed
loosen regular expression for date strings in test
1 parent 1b8c3ba commit 2ef0c4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ describe('expect()', () => {
773773
exception = err;
774774
}
775775

776-
Hoek.assert(exception.message.match(/Expected .* GMT.* to be a regexp but got 'date'/), exception);
776+
Hoek.assert(exception.message.match(/Expected .* to be a regexp but got 'date'/), exception);
777777
done();
778778
});
779779
});

0 commit comments

Comments
 (0)