Skip to content

Commit e23ca0e

Browse files
committed
fixed failing test
1 parent 3647010 commit e23ca0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tests/CommonOptions/DateMath/DateMathExpressions.doc.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ [U] public void FractionalsUnitsAreDroppeToIntegerPart()
105105
Nest.DateMath.Now.Add(TimeSpan.FromHours(25)));
106106

107107
/** where as `Time` on its own serializes like this */
108-
Expect("1.04d").WhenSerializing(new Time(TimeSpan.FromHours(25)));
108+
Expect("1.04166666666667d").WhenSerializing(new Time(TimeSpan.FromHours(25)));
109109

110110
Expect("now+90001s").WhenSerializing(
111111
Nest.DateMath.Now.Add(TimeSpan.FromHours(25).Add(TimeSpan.FromSeconds(1))));

0 commit comments

Comments
 (0)