From cb4bc095e481fe11be656b328467cb671d0bcfe1 Mon Sep 17 00:00:00 2001 From: "Hikaru Terazono (3c1u)" <3c1u@tohkani.com> Date: Tue, 13 Jul 2021 14:22:05 +0900 Subject: [PATCH] Update sta1_test.go --- _test/sta1/sta1_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_test/sta1/sta1_test.go b/_test/sta1/sta1_test.go index 207258bf..2933b6b9 100644 --- a/_test/sta1/sta1_test.go +++ b/_test/sta1/sta1_test.go @@ -19,7 +19,7 @@ func TestStation1(t *testing.T) { return } - if !regexp.MustCompile(`go\sversion\sgo1\.\d+\.\d+\s.+/.+`).Match(w.Bytes()) { + if !regexp.MustCompile(`go\sversion\sgo1\.\d+(\.\d+)?\s.+/.+`).Match(w.Bytes()) { t.Error("go version の実行結果に問題があります") return }