From fd8ee5632f24a71d2f1ce148db87d23b1c9603a4 Mon Sep 17 00:00:00 2001 From: yamada28go Date: Tue, 5 May 2015 13:27:32 +0900 Subject: [PATCH] fix ci error --- xdate/xdate-test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xdate/xdate-test.ts b/xdate/xdate-test.ts index 9f86c0609..dad175104 100644 --- a/xdate/xdate-test.ts +++ b/xdate/xdate-test.ts @@ -1040,7 +1040,7 @@ module XDate_Test // } public setWeek() : boolean { - function test(xdate, n) { + function test(xdate : XDate , n : number) { var year = xdate.getFullYear(); xdate.setWeek(n); return xdate.getWeek() == n && @@ -1058,7 +1058,7 @@ module XDate_Test } public setWeek_with_year() : boolean { - function test(xdate, n, year) { + function test(xdate : XDate , n : number , year : number) { xdate.setWeek(n, year); return xdate.getWeek() == n && xdate.getFullYear() == year && @@ -1075,7 +1075,7 @@ module XDate_Test } public setUTCWeek() : boolean { - function test(xdate, n) { + function test(xdate : XDate , n : number) { var year = xdate.getUTCFullYear(); xdate.setUTCWeek(n); return xdate.getUTCWeek() == n && @@ -1093,7 +1093,7 @@ module XDate_Test } public setUTCWeek_with_year() : boolean{ - function test(xdate, n, year) { + function test(xdate : XDate , n : number , year : number ) { xdate.setUTCWeek(n, year); return xdate.getUTCWeek() == n && xdate.getUTCFullYear() == year &&