added booking types + working on overtime
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
func TestGetMonday(t *testing.T) {
|
||||
isMonday, err := time.Parse("2006-01-02", "2025-07-14")
|
||||
notMonday, err := time.Parse("2006-01-02", "2025-07-16")
|
||||
if err != nil || isMonday == notMonday {
|
||||
if err != nil || isMonday.Equal(notMonday) {
|
||||
t.Errorf("U stupid? %e", err)
|
||||
}
|
||||
if GetMonday(isMonday) != isMonday || GetMonday(notMonday) != isMonday {
|
||||
|
||||
Reference in New Issue
Block a user