Skip to content

Commit

Permalink
quotation issssue
Browse files Browse the repository at this point in the history
  • Loading branch information
motemen committed Apr 14, 2015
1 parent 31a62e0 commit c738644
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions checks/checker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func TestChecker_Check(t *testing.T) {

checkerWarning := Checker{
Config: config.PluginConfig{
Command: "go run testdata/exit.go -code 1 -message 'something is going wrong'",
Command: "go run testdata/exit.go -code 1 -message something_is_going_wrong",
},
}

Expand All @@ -40,7 +40,7 @@ func TestChecker_Check(t *testing.T) {
if report.Status != StatusWarning {
t.Errorf("status should be WARNING: %v", report.Status)
}
if report.Message != "something is going wrong\n" {
if report.Message != "something_is_going_wrong\n" {
t.Errorf("wrong message: %q", report.Message)
}
}
Expand Down

0 comments on commit c738644

Please sign in to comment.