Skip to content

Commit

Permalink
Minor. Reused tmpdir.
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgeny Gerashchenko authored and Evgeny Gerashchenko committed Mar 12, 2013
1 parent 6c59eed commit d9abbcf
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,9 @@ public File fun(String s) {
return new File(s);
}
});
File tmpDir = JetTestUtils.tmpDir(expectedFile.getName());

Pair<NamespaceDescriptor, BindingContext> javaNamespaceAndContext
= compileJavaAndLoadTestNamespaceAndBindingContextFromBinary(files, tmpDir, getTestRootDisposable(),
= compileJavaAndLoadTestNamespaceAndBindingContextFromBinary(files, tmpdir, getTestRootDisposable(),
ConfigurationKind.JDK_ONLY);

checkJavaNamespace(expectedFile, javaNamespaceAndContext.first, javaNamespaceAndContext.second);
Expand Down

0 comments on commit d9abbcf

Please sign in to comment.