Skip to content

Commit

Permalink
modify the error info of test case
Browse files Browse the repository at this point in the history
  • Loading branch information
guangxuli committed Sep 7, 2016
1 parent 31f2273 commit b169798
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/build/controller/strategy/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ func TestTrustedMergeEnvWithoutDuplicates(t *testing.T) {
t.Errorf("Expected output env 'foo' to have value 'test', got %+v", output[0])
}
if output[1].Name != "BUILD_LOGLEVEL" {
t.Errorf("Expected output to have env 'BUILD_LOGLEVEL', got %+v", output[0])
t.Errorf("Expected output to have env 'BUILD_LOGLEVEL', got %+v", output[1])
}
if output[1].Value != "loglevel" {
t.Errorf("Expected output env 'foo' to have value 'loglevel', got %+v", output[0])
t.Errorf("Expected output env 'BUILD_LOGLEVEL' to have value 'loglevel', got %+v", output[1])
}
}

0 comments on commit b169798

Please sign in to comment.