From 6088f7da5a43fd2f66b3b7e876cb17f848b94425 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sat, 11 May 2019 16:34:36 +0800 Subject: [PATCH] chore: update build tag --- path.go | 2 +- path_windows_test.go | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/path.go b/path.go index f90fb13..c8e069c 100644 --- a/path.go +++ b/path.go @@ -1,4 +1,4 @@ -// +build darwin dragonfly freebsd linux nacl netbsd openbsd solaris +// +build !windows package main diff --git a/path_windows_test.go b/path_windows_test.go index 6c00c2c..59d4053 100644 --- a/path_windows_test.go +++ b/path_windows_test.go @@ -1,6 +1,8 @@ package main -import "testing" +import ( + "testing" +) func TestGetRealPath(t *testing.T) { type args struct {