Skip to content

Commit

Permalink
Update sta1_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
3c1u committed Jul 13, 2021
1 parent 4862fd8 commit cb4bc09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _test/sta1/sta1_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit cb4bc09

Please sign in to comment.