Skip to content

Commit e04c01a

Browse files
authored
test: less strict regex for long version output (#1372)
Closes #1371
1 parent 4957ed0 commit e04c01a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/cmd/version/version_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func TestVersionLong(t *testing.T) {
4242
assert.Empty(t, errOut)
4343
require.Regexp(t, `^hcloud .*
4444
45-
go version: *go1.[0-9]+.[0-9]+ \((gc|gccgo)\)
45+
go version: *go1.[0-9]+.[0-9]+.*
4646
platform: *.+/.+
4747
revision: *(unknown|[0-9a-f]+)( \(modified\))?
4848
revision date: *.+`, out)

0 commit comments

Comments
 (0)