diff --git a/js/tests/ecma/jsref.js b/js/tests/ecma/jsref.js index fa54f6636526..4263fd11f110 100644 --- a/js/tests/ecma/jsref.js +++ b/js/tests/ecma/jsref.js @@ -305,7 +305,7 @@ function InLeapYear( t ) { if ( DaysInYear(YearFromTime(t)) == 366 ) { return 1; } else { - return "ERROR: DayFromYear("+y+") case not covered"; + return "ERROR: InLeapYear("+t+") case not covered"; } } function YearFromTime( t ) {