Permalink
Browse files

trying to fix failing test in travis, which is not failing locally

  • Loading branch information...
1 parent 33f361a commit c25c16d22c0573fd3c0a697a17a212e80f4fd967 @constantology committed Nov 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/d8.test.js
View
@@ -339,7 +339,7 @@ suite( 'd8 (en-GB/default)', function() {
expect( ( new Date( 2012, 0, 31 ) ).lexicalize( new Date( 2012, 2, 1 ), 'exact' ) ).to.equal( '1 month ago' );
expect( ( new Date( 2012, 2, 1 ) ).lexicalize( new Date( 2012, 0, 31 ), 'exact' ) ).to.equal( '1 month from now' );
- expect( ( new Date( 2012, 0, 1 ) ).lexicalize( ( new Date( 2012, 3, 1 ) ).adjust( Date.HOUR, -23 ), 'exact' ) ).to.equal( '3 months ago' );
+ expect( ( new Date( 2012, 0, 1 ) ).lexicalize( ( new Date( 2012, 2, 31, 1, 0, 1 ) ), 'exact' ) ).to.equal( '3 months ago' );
expect( ( new Date( 2012, 3, 1 ) ).adjust( Date.HOUR, -23 ).lexicalize( new Date( 2012, 0, 1 ), 'exact' ) ).to.equal( '3 months from now' );
expect( ( new Date( 2012, 0, 1 ) ).adjust( Date.WEEK, -1 ).lexicalize( new Date( 2012, 0, 1 ), 'exact' ) ).to.equal( '1 week ago' );

0 comments on commit c25c16d

Please sign in to comment.