Skip to content

Commit ca42c07

Browse files
committed
Epoch.Formats.seconds test fail.
Test fail when tested on a machine with timezone GMT+2.
1 parent 1d94c57 commit ca42c07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/core/format.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ describe 'Epoch.Formats', ->
6565

6666
describe 'seconds', ->
6767
it 'should return a well formatted date given a timestamp', ->
68-
assert.equal Epoch.Formats.seconds(1404385979), '04:12:59 AM'
68+
assert.match Epoch.Formats.seconds(1404385979), /\d{2}:\d{2}:\d{2} AM|PM/

0 commit comments

Comments
 (0)