Fixed typo

This commit is contained in:
Evgeny Gerashchenko
2012-05-18 16:17:10 +04:00
parent ea36cf9fb0
commit 30ede72c32
@@ -66,21 +66,21 @@ public abstract class JetLiteFixture extends UsefulTestCase {
protected void createEnvironmentWithMockJdkAndIdeaAnnotations() { protected void createEnvironmentWithMockJdkAndIdeaAnnotations() {
if (myEnvironment != null) { if (myEnvironment != null) {
throw new IllegalStateException("must not set up myEnvironemnt twice"); throw new IllegalStateException("must not set up myEnvironment twice");
} }
myEnvironment = JetTestUtils.createEnvironmentWithMockJdkAndIdeaAnnotations(getTestRootDisposable()); myEnvironment = JetTestUtils.createEnvironmentWithMockJdkAndIdeaAnnotations(getTestRootDisposable());
} }
protected void createEnvironmentWithMockJdkAndIdeaAnnotations(@NotNull CompilerSpecialMode compilerSpecialMode) { protected void createEnvironmentWithMockJdkAndIdeaAnnotations(@NotNull CompilerSpecialMode compilerSpecialMode) {
if (myEnvironment != null) { if (myEnvironment != null) {
throw new IllegalStateException("must not set up myEnvironemnt twice"); throw new IllegalStateException("must not set up myEnvironment twice");
} }
myEnvironment = JetTestUtils.createEnvironmentWithMockJdkAndIdeaAnnotations(getTestRootDisposable(), compilerSpecialMode); myEnvironment = JetTestUtils.createEnvironmentWithMockJdkAndIdeaAnnotations(getTestRootDisposable(), compilerSpecialMode);
} }
protected void createEnvironmentWithFullJdk() { protected void createEnvironmentWithFullJdk() {
if (myEnvironment != null) { if (myEnvironment != null) {
throw new IllegalStateException("must not set up myEnvironemnt twice"); throw new IllegalStateException("must not set up myEnvironment twice");
} }
myEnvironment = JetTestUtils.createEnvironmentWithFullJdk(getTestRootDisposable()); myEnvironment = JetTestUtils.createEnvironmentWithFullJdk(getTestRootDisposable());
} }