From 6077a84cc2aee7a73dd501f80c4d54b4b72d9901 Mon Sep 17 00:00:00 2001
From: Neil Pankey <npankey@gmail.com>
Date: Wed, 16 Sep 2020 19:47:44 -0700
Subject: [PATCH] test: build on go 1.11

---
 main_test.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/main_test.go b/main_test.go
index a2883d1..b4475ff 100644
--- a/main_test.go
+++ b/main_test.go
@@ -69,10 +69,10 @@ func TestMain(t *testing.T) {
 	}
 
 	for _, tt := range tests {
-		in := strings.ReplaceAll(tt.in, "/", string(filepath.Separator))
+		in := strings.Replace(tt.in, "/", string(filepath.Separator), -1)
 		sort.Strings(tt.out)
 		out := strings.Join(tt.out, "\n")
-		out = strings.ReplaceAll(out, "/", string(filepath.Separator))
+		out = strings.Replace(out, "/", string(filepath.Separator), -1)
 
 		t.Run(in, func(t *testing.T) {
 			var w strings.Builder
-- 
GitLab