Skip to content

Commit

Permalink
Improve a test check
Browse files Browse the repository at this point in the history
Co-authored-by: Mihail Stoykov <[email protected]>
  • Loading branch information
na-- and mstoykov authored Feb 23, 2021
1 parent 3ff34d3 commit ba40f59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stats/cloud/collector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ func TestCloudCollectorRequireScriptName(t *testing.T) {
})
_, err := New(testutils.NewLogger(t), config, &url.URL{Path: ""}, options, []lib.ExecutionStep{}, "1.0")
require.Error(t, err)
assert.Contains(t, err.Error(), "K6_CLOUD_NAME")
assert.Contains(t, err.Error(), "script name not set")
}

func TestCloudCollectorAggregationPeriodZeroNoBlock(t *testing.T) {
Expand Down

0 comments on commit ba40f59

Please sign in to comment.