1// Copyright 2015 Keybase, Inc. All rights reserved. Use of 2// this source code is governed by the included BSD license. 3 4// +build windows 5 6package libkb 7 8import ( 9 "testing" 10) 11 12func TestEnvWindows(t *testing.T) { 13 env := newEnv(nil, nil, "windows", makeLogGetter(t)) 14 15 mountDir, err := env.GetMountDir() 16 if err != nil { 17 t.Fatal(err) 18 } 19 20 if mountDir != "" { 21 t.Fatalf("Windows needs an empty default mount dir") 22 } 23} 24