go-lang-plugin-org/go-lang-idea-plugin — pull request #1137 by cr7pt0gr4ph7 (2014-12-15 12:56:13+00:00)
Title: Fix GoInspectionTestCase.doTestWithDirectory() to work on Windows.

Because `FileUtil.getRelativePath(File, File)` uses the character specified by `File.pathSeparator` for the returned file path, the returned paths use `'/'` on Linux and `'\\'` on Windows. This causes a number of tests to fail on Windows, because `myFixture.configureFromTempProjectFile(fileName)` requires `'/'` as the path separator.

The issue can be fixed by normalizing the path before passing it to `configureFromTempProjectFile` (as it is done in this commit).