fix tests

This commit is contained in:
Leonid Shalupov
2013-02-06 13:16:38 +04:00
parent ffedb64ff2
commit a6468bdff1
4 changed files with 4 additions and 1 deletions
+1
View File
@@ -17,4 +17,5 @@ Usage: org.jetbrains.jet.cli.jvm.K2JVMCompilerArguments
-verbose [flag] Enable verbose logging output
-version [flag] Display compiler version
-help (-h) [flag] show help
-kotlinHome [String] Path to Kotlin compiler home directory, used for annotations and runtime libraries discovery
OK
+1
View File
@@ -18,4 +18,5 @@ Usage: org.jetbrains.jet.cli.jvm.K2JVMCompilerArguments
-verbose [flag] Enable verbose logging output
-version [flag] Display compiler version
-help (-h) [flag] show help
-kotlinHome [String] Path to Kotlin compiler home directory, used for annotations and runtime libraries discovery
INTERNAL_ERROR
@@ -70,6 +70,7 @@ public final class JetCompilerMessagingTest extends IDECompilerMessagingTest {
checker.expect(Message.info().textStartsWith("Using kotlinHome="));
checker.expect(Message.info().textStartsWith("Invoking in-process compiler"));
checker.expect(Message.info().textStartsWith("Kotlin Compiler version"));
checker.expect(Message.stats().textStartsWith("Using Kotlin home directory"));
checker.expect(Message.stats().text("Configuring the compilation environment"));
}
}
@@ -110,7 +110,7 @@ public final class Message {
other.message.matches(textMatchesRegexp));
return;
}
Assert.assertEquals(other.message, this.message);
Assert.assertEquals(this.message, other.message);
}
@Override