Skip to content
This repository has been archived by the owner on Oct 12, 2020. It is now read-only.

Commit

Permalink
Update tests to match with rendering changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ullaakut committed Jul 15, 2019
1 parent 9762933 commit fb8008b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/trust/render_test.go
Expand Up @@ -17,7 +17,7 @@ func TestPrintTrustFactor(t *testing.T) {
TrustPercent: 0.99,
})

assert.Contains(t, logger.String(), "test_name: 42 A")
assert.Contains(t, logger.String(), "test_name: 42 A")
}

func TestPrintPercentile(t *testing.T) {
Expand All @@ -29,7 +29,7 @@ func TestPrintPercentile(t *testing.T) {
TrustPercent: 0.99,
})

assert.Contains(t, logger.String(), "5th percentile: 8484 A")
assert.Contains(t, logger.String(), "5th percentile: 8484 A")
}

func TestPrintResult(t *testing.T) {
Expand All @@ -41,7 +41,7 @@ func TestPrintResult(t *testing.T) {
})

assert.Contains(t, logger.String(), "----------------------------------------------------------")
assert.Contains(t, logger.String(), "test_name: A")
assert.Contains(t, logger.String(), "test_name: A")
}

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

0 comments on commit fb8008b

Please sign in to comment.