Permalink
Browse files

Fix tests after merging master changes.

  • Loading branch information...
1 parent 9d2afe5 commit 53f437411eac08eb17770bb41bb66dbc83c29aa4 @nikhilk committed Aug 27, 2012
@@ -107,8 +107,7 @@ public sealed class ExpressionTests : CompilationTest {
[TestMethod]
public void TestGlobalMethods() {
RunTest((c) => {
- c.AddReference("Script.Web.dll").
- AddSource("Code.cs");
+ c.AddSource("Code.cs");
});
}
@@ -43,7 +43,8 @@ public sealed class MemberTests : CompilationTest {
[TestMethod]
public void TestMethods() {
RunTest((c) => {
- c.AddSource("Code.cs");
+ c.AddReference("Script.Web.dll")
+ .AddSource("Code.cs");
});
}
@@ -17,27 +17,27 @@ test.MyDebug.logInfo = function test_MyDebug$logInfo() {
// test.App
test.App = function test_App(i) {
- ss.Debug.assert(false);
+ console.assert(false);
test.MyDebug.showInfo();
while (true) {
- ss.Debug.assert(false);
+ console.assert(false);
}
switch (i) {
case 0:
- ss.Debug.assert(false);
+ console.assert(false);
break;
}
- ss.Debug.assert(!!i);
- ss.Debug.assert(!!i);
+ console.assert(!!i);
+ console.assert(!!i);
i++;
if (false) {
- ss.Debug.writeln('Debug spew');
+ console.log('Debug spew');
}
while (false) {
- ss.Debug.writeln('.');
+ console.log('.');
}
for (var i = 0; i < 10; i++) {
- ss.Debug.writeln('.');
+ console.log('.');
}
}
Oops, something went wrong.

0 comments on commit 53f4374

Please sign in to comment.