Skip to content

Commit

Permalink
fix: add metadata to integration test (#833)
Browse files Browse the repository at this point in the history
I tried adding just `"m"` but it seemed to fail still. Not sure if
that's expected or not @worstell
  • Loading branch information
wesbillman authored Jan 25, 2024
1 parent 27d33d3 commit 0d4b02d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func TestIntegration(t *testing.T) {
deploymentExists("echo"),
}},
{name: "CallEchoKotlin", assertions: assertions{
call("echo", "echo", obj{"name": "Alice"}, func(t testing.TB, resp obj) {
call("echo", "echo", obj{"name": "Alice", "metadata": "hi"}, func(t testing.TB, resp obj) {
message, ok := resp["message"].(string)
assert.True(t, ok, "message is not a string")
assert.True(t, regexp.MustCompile(`^Hello, Alice!`).MatchString(message), "%q does not match %q", message, `^Hello, Alice!`)
Expand Down

0 comments on commit 0d4b02d

Please sign in to comment.