fix assertion (IDEA-67971)

This commit is contained in:
Eugene Zhuravlev
2011-04-12 17:00:40 +02:00
parent 8486f7aba2
commit eefb59083c
@@ -273,7 +273,12 @@ public class BackendCompilerWrapper {
if (moduleTestOutputDirectory == null) {
return false;
}
// here we have test output specified
final String moduleOutputDirectory = getOutputDir(module);
if (moduleOutputDirectory == null) {
// only test output is specified, so should return true
return true;
}
return !FileUtil.pathsEqual(moduleTestOutputDirectory, moduleOutputDirectory);
}