diff --git a/comparer_unit_test.go b/comparer_unit_test.go index 115541a9..20f5246e 100755 --- a/comparer_unit_test.go +++ b/comparer_unit_test.go @@ -121,9 +121,10 @@ func TestCarbon_IsAM(t *testing.T) { 3: {"00:00:00", false}, 4: {"0000-00-00 00:00:00", false}, - 5: {"2020-08-05 08:00:00", true}, - 6: {"2020-08-05 12:00:00", false}, - 7: {"2020-08-05 13:00:00", false}, + 5: {"2020-08-05 00:00:00", true}, + 6: {"2020-08-05 08:00:00", true}, + 7: {"2020-08-05 12:00:00", false}, + 8: {"2020-08-05 13:00:00", false}, } for index, test := range tests { @@ -146,9 +147,10 @@ func TestCarbon_IsPM(t *testing.T) { 3: {"00:00:00", false}, 4: {"0000-00-00 00:00:00", false}, - 5: {"2020-08-05 08:00:00", false}, - 6: {"2020-08-05 12:00:00", true}, - 7: {"2020-08-05 13:00:00", true}, + 5: {"2020-08-05 00:00:00", false}, + 6: {"2020-08-05 08:00:00", false}, + 7: {"2020-08-05 12:00:00", true}, + 8: {"2020-08-05 13:00:00", true}, } for index, test := range tests {