go-lang-plugin-org/go-lang-idea-plugin — pull request #896 by bronze1man (2014-10-23 18:41:57+00:00)
Title: add a inspection testsuite to test on Go sdk.

We can use this kind of test suite to find false error inspection.
If you want to run this test case ,you need to config your go root path in GetGoSdkRootPath .
This test cases is fail,and it is not running.

Follow is test on time package with #895 pull request:
It seems RedeclareInspection has some bugs.
```
format.go:464 y => No new variables on left side of :=
format.go:517 hr => No new variables on left side of :=
format.go:579 zone => No new variables on left side of :=
format_test.go:181 t => Expression type mismatch, the expected type is *testing.T
format_test.go:247 t => Expression type mismatch, the expected type is *testing.T
sleep_test.go:19 100 * Millisecond => Constant expression expected
sleep_test.go:150 100 * Millisecond => Constant expression expected
sleep_test.go:329 25 * Millisecond => Constant expression expected
sleep_test.go:92 b => Expression type mismatch, the expected type is *testing.B
sleep_test.go:110 b => Expression type mismatch, the expected type is *testing.B
sleep_test.go:118 b => Expression type mismatch, the expected type is *testing.B
sleep_test.go:130 wg.Done => Expression type mismatch, the expected type is func()
sleep_test.go:126 b => Expression type mismatch, the expected type is *testing.B
sleep_test.go:137 b => Expression type mismatch, the expected type is *testing.B
sleep_test.go:213 t => Expression type mismatch, the expected type is *testing.T
sleep_test.go:352 big => Expression type mismatch, the expected type is Duration
sleep_test.go:359 neg => Expression type mismatch, the expected type is Duration
time.go:452 1000 * Nanosecond => Constant expression expected
time.go:453 1000 * Microsecond => Constant expression expected
time.go:454 1000 * Millisecond => Constant expression expected
time.go:455 60 * Second => Constant expression expected
time.go:456 60 * Minute => Constant expression expected
time.go:501 buf[:w] => Expression type mismatch, the expected type is []byte
time.go:502 buf[:w] => Expression type mismatch, the expected type is []byte
time.go:507 buf[:w] => Expression type mismatch, the expected type is []byte
time.go:510 buf[:w] => Expression type mismatch, the expected type is []byte
time.go:517 buf[:w] => Expression type mismatch, the expected type is []byte
time.go:525 buf[:w] => Expression type mismatch, the expected type is []byte
time.go:1169 d1 => No new variables on left side of :=
zoneinfo_windows.go:46 h => Expression type mismatch, the expected type is syscall.Handle
zoneinfo_windows.go:53 h => Expression type mismatch, the expected type is syscall.Handle
zoneinfo_windows.go:85 zones => Expression type mismatch, the expected type is syscall.Handle
zoneinfo_windows.go:161 i => Expression type mismatch, the expected type is *syscall.Timezoneinformation
zoneinfo_windows.go:244 &usPacific => Expression type mismatch, the expected type is *syscall.Timezoneinformation
zoneinfo_windows.go:248 &aus => Expression type mismatch, the expected type is *syscall.Timezoneinformation
zoneinfo_windows.go:257 &i => Expression type mismatch, the expected type is *syscall.Timezoneinformation
zoneinfo_windows_test.go:28 t => Expression type mismatch, the expected type is *testing.T
zoneinfo_windows_test.go:34 t => Expression type mismatch, the expected type is *testing.T

```