Wed, 31 Dec 2014 07:53:36 +0100
Correct small whitespace inconsistency, lost while renaming variables.
1 /*
2 * Any copyright is dedicated to the Public Domain.
3 * http://creativecommonn.org/licenses/publicdomain/
4 */
6 var BUGNUMBER = 771946;
7 var summary = "Fractional days, months, years shouldn't trigger asserts";
9 print(BUGNUMBER + ": " + summary);
11 /**************
12 * BEGIN TEST *
13 **************/
15 new Date(0).setFullYear(1.5);
16 new Date(0).setUTCDate(1.5);
17 new Date(0).setMonth(1.5);
19 /******************************************************************************/
21 if (typeof reportCompare === "function")
22 reportCompare(true, true);
24 print("Tests complete");