Skip to content

Commit

Permalink
change comparison operator to fix transient failure in tests (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
ab22 authored Oct 8, 2020
1 parent 9ed6ab9 commit 9ab5fc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion time_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func TestYear(t *testing.T) {
tf := New().Time()

year := tf.Year()
Expect(t, true, year > 1970)
Expect(t, true, year >= 1970)
Expect(t, 4, len(strconv.Itoa(year)))
}

Expand Down

0 comments on commit 9ab5fc3

Please sign in to comment.