Skip to content

Commit

Permalink
chore(pyroscope/scrape): fix expected error's typo in unit test
Browse files Browse the repository at this point in the history
Signed-off-by: hainenber <[email protected]>
  • Loading branch information
hainenber committed Apr 19, 2024
1 parent 5304d84 commit 777562f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/component/pyroscope/scrape/scrape_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func TestUnmarshalConfig(t *testing.T) {
scrape_interval = "10s"
profiling_duration = "1s"
`,
expectedErr: "profiling_duration must be larger then 1 second when using delta profiling",
expectedErr: "profiling_duration must be larger than 1 second when using delta profiling",
},
"erroneous cpu profiling_duration": {
in: `
Expand Down

0 comments on commit 777562f

Please sign in to comment.