fix tests
This commit is contained in:
@@ -17,4 +17,5 @@ Usage: org.jetbrains.jet.cli.jvm.K2JVMCompilerArguments
|
|||||||
-verbose [flag] Enable verbose logging output
|
-verbose [flag] Enable verbose logging output
|
||||||
-version [flag] Display compiler version
|
-version [flag] Display compiler version
|
||||||
-help (-h) [flag] show help
|
-help (-h) [flag] show help
|
||||||
|
-kotlinHome [String] Path to Kotlin compiler home directory, used for annotations and runtime libraries discovery
|
||||||
OK
|
OK
|
||||||
|
|||||||
@@ -18,4 +18,5 @@ Usage: org.jetbrains.jet.cli.jvm.K2JVMCompilerArguments
|
|||||||
-verbose [flag] Enable verbose logging output
|
-verbose [flag] Enable verbose logging output
|
||||||
-version [flag] Display compiler version
|
-version [flag] Display compiler version
|
||||||
-help (-h) [flag] show help
|
-help (-h) [flag] show help
|
||||||
|
-kotlinHome [String] Path to Kotlin compiler home directory, used for annotations and runtime libraries discovery
|
||||||
INTERNAL_ERROR
|
INTERNAL_ERROR
|
||||||
|
|||||||
@@ -70,6 +70,7 @@ public final class JetCompilerMessagingTest extends IDECompilerMessagingTest {
|
|||||||
checker.expect(Message.info().textStartsWith("Using kotlinHome="));
|
checker.expect(Message.info().textStartsWith("Using kotlinHome="));
|
||||||
checker.expect(Message.info().textStartsWith("Invoking in-process compiler"));
|
checker.expect(Message.info().textStartsWith("Invoking in-process compiler"));
|
||||||
checker.expect(Message.info().textStartsWith("Kotlin Compiler version"));
|
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"));
|
checker.expect(Message.stats().text("Configuring the compilation environment"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ public final class Message {
|
|||||||
other.message.matches(textMatchesRegexp));
|
other.message.matches(textMatchesRegexp));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Assert.assertEquals(other.message, this.message);
|
Assert.assertEquals(this.message, other.message);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user