type checks with (the [type] [value])
This commit is contained in:
@@ -137,4 +137,8 @@ class BasicTestCase extends Test {
|
||||
Assert.equals(6, BasicTestCase.myTryCatch(404));
|
||||
Assert.equals(7, BasicTestCase.myTryCatch(["list error"]));
|
||||
}
|
||||
|
||||
function testTypeCheck() {
|
||||
Assert.equals(5, BasicTestCase.myTypeCheck());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user