From dafb12116b4a2fa14735d13465c441d7ab54de2a Mon Sep 17 00:00:00 2001 From: Soulou Date: Tue, 23 Dec 2014 12:12:57 +0100 Subject: [PATCH] fit tests on windows --- config/config_test.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/config/config_test.go b/config/config_test.go index bdb424758..af53f398f 100644 --- a/config/config_test.go +++ b/config/config_test.go @@ -1,11 +1,14 @@ package config -import "os" +import ( + "os" + "path/filepath" +) var ( testConfig = Config{ apiHost: "scalingo.dev", - AuthFile: "/tmp/test-scalingo-auth", + AuthFile: filepath.Join(os.TempDir(), "test-scalingo-auth"), } )