Skip to content

Commit 3223ca1

Browse files
committed
resolve one failing test
1 parent b5f65ad commit 3223ca1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

processor/formatters_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func TestCalculateCocomo(t *testing.T) {
6161
var str strings.Builder
6262
calculateCocomo(1, &str)
6363

64-
if !strings.Contains(str.String(), "Estimated Schedule Effort (organic) 0.221524 months") {
64+
if !strings.Contains(str.String(), "Estimated Schedule Effort (organic) 0.22 months") {
6565
t.Error("expected to match got", str.String())
6666
}
6767
}

processor/workers_regression_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ namespace Baz
3535
CountStats(&fileJob)
3636

3737
if fileJob.Lines != 14 {
38-
t.Errorf("Expected 14 lines")
38+
t.Errorf("Expected 14 lines got %d", fileJob.Lines)
3939
}
4040

4141
if fileJob.Code != 11 {

0 commit comments

Comments
 (0)