Skip to content

Commit 6ef233d

Browse files
authored
Fixed: the user-agent test on release builds (#955)
The user-agent test assumed goss will always have v0.0.0, this is not the case in a release build.
1 parent 364b0d3 commit 6ef233d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integration-tests/goss/goss-shared.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ http:
206206
headers: ["Content-Type: application/json"]
207207
body:
208208
- '"Foo": "bar"'
209-
- '"User-Agent": "goss/0.0.0"'
209+
- '/"User-Agent": "goss/[0-9]+.[0-9]+.[0-9]+"/'
210210
http://httpbin/headers?host:
211211
status: 200
212212
timeout: 60000

0 commit comments

Comments
 (0)