Skip to content

Commit

Permalink
updated test
Browse files Browse the repository at this point in the history
  • Loading branch information
michalpristas committed Apr 23, 2024
1 parent 0f88ada commit 9bd0d18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/integration/otel_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ func validateCommandIsWorking(t *testing.T, ctx context.Context, fixture *aTesti
require.NoError(t, err)

// check feature gate works
out, err = fixture.Exec(ctx, []string{"otel", "validate", "--config", cfgFilePath, "--feature-gates", "foo.bar"})
out, err := fixture.Exec(ctx, []string{"otel", "validate", "--config", cfgFilePath, "--feature-gates", "foo.bar"})
require.Error(t, err)
require.Contains(t, string(out), `no such feature gate "foo.bar"`)

Expand Down

0 comments on commit 9bd0d18

Please sign in to comment.