Skip to content

Commit

Permalink
Fixed tests to adhere to fixed synchronization
Browse files Browse the repository at this point in the history
  • Loading branch information
baalimago committed Feb 15, 2024
1 parent 684fcf5 commit 78f150c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configured_oper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func Test_configuredOper(t *testing.T) {
if err != nil {
t.Fatalf("failed to get report file: %v", err)
}
wantStr := fmt.Sprintf("%v\n", fmt.Sprintf(progFormat, 1, 1))
wantStr := fmt.Sprintf("%v\n", fmt.Sprintf(progFormat, 0, 1))
if got != wantStr && wantProgress {
t.Fatalf("for: %s, expected: %v, got: %v", outputMode, wantStr, got)
} else if got == wantStr && !wantProgress {
Expand Down Expand Up @@ -114,7 +114,7 @@ func Test_configuredOper(t *testing.T) {
if err != nil {
t.Fatalf("failed to get report file: %v", err)
}
want := fmt.Sprintf("%v\n", fmt.Sprintf(wantFormat, 1, 1))
want := fmt.Sprintf("%v\n", fmt.Sprintf(wantFormat, 0, 1))
if got != want {
t.Fatalf("expected: %v, got: %v", want, got)
}
Expand Down

0 comments on commit 78f150c

Please sign in to comment.