Fix undefined variable in Windows-specific test
Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>v0.8
parent
b5e6d54910
commit
0c9d862645
|
@ -12,6 +12,8 @@ func TestCheckSystemDriveAndRemoveDriveLetter(t *testing.T) {
|
|||
t.Fatalf("Expected error for d:")
|
||||
}
|
||||
|
||||
var path string
|
||||
|
||||
// Single character is unchanged
|
||||
if path, err = CheckSystemDriveAndRemoveDriveLetter("z"); err != nil {
|
||||
t.Fatalf("Single character should pass")
|
||||
|
|
Loading…
Reference in New Issue