Skip to content

Commit

Permalink
Fixed: the user-agent test on release builds (#955)
Browse files Browse the repository at this point in the history
The user-agent test assumed goss will always have v0.0.0, this is not
the case in a release build.
  • Loading branch information
aelsabbahy authored Jul 18, 2024
1 parent 364b0d3 commit 6ef233d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration-tests/goss/goss-shared.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ http:
headers: ["Content-Type: application/json"]
body:
- '"Foo": "bar"'
- '"User-Agent": "goss/0.0.0"'
- '/"User-Agent": "goss/[0-9]+.[0-9]+.[0-9]+"/'
http://httpbin/headers?host:
status: 200
timeout: 60000
Expand Down

0 comments on commit 6ef233d

Please sign in to comment.