Skip to content

Commit

Permalink
resolve one failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
boyter committed Dec 14, 2021
1 parent b5f65ad commit 3223ca1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion processor/formatters_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func TestCalculateCocomo(t *testing.T) {
var str strings.Builder
calculateCocomo(1, &str)

if !strings.Contains(str.String(), "Estimated Schedule Effort (organic) 0.221524 months") {
if !strings.Contains(str.String(), "Estimated Schedule Effort (organic) 0.22 months") {
t.Error("expected to match got", str.String())
}
}
Expand Down
2 changes: 1 addition & 1 deletion processor/workers_regression_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ namespace Baz
CountStats(&fileJob)

if fileJob.Lines != 14 {
t.Errorf("Expected 14 lines")
t.Errorf("Expected 14 lines got %d", fileJob.Lines)
}

if fileJob.Code != 11 {
Expand Down

0 comments on commit 3223ca1

Please sign in to comment.