Fix some tests

This commit is contained in:
Neil Stalker
2013-06-29 15:18:02 +01:00
parent eab0fc16ea
commit 3dacaaa512
9 changed files with 53 additions and 94 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
/// <reference path="platform.d.ts" />
declare interface ITestContainer {
interface ITestContainer {
[name: string]: PlatformStatic;
}
@@ -54,7 +54,7 @@ function runTests() {
onFalse = (name: string) => {
return function () => {
return () => {
console.log('\tfailed on prop "' + name + '" for "' + n + '"');
}
}
+2 -2
View File
@@ -14,8 +14,8 @@ interface PlatformStatic {
ua?: string;
version?: string;
os?: PlatformOS;
parse(ua: string): PlatformStatic;
toString(): string;
parse?(ua: string): PlatformStatic;
toString?(): string;
}
interface PlatformOS {