From 05752fe34d0414e07d86b3ca94efd722c689c189 Mon Sep 17 00:00:00 2001 From: Pisyek Date: Thu, 18 Jan 2024 00:13:32 +0800 Subject: [PATCH] fix typo and add pesta kaamatan second day --- src/Countries/Malaysia.php | 3 ++- .../MalaysiaTest/it_can_calculate_Malaysia_holidays.snap | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/Countries/Malaysia.php b/src/Countries/Malaysia.php index b69d37990..80cf57ffe 100644 --- a/src/Countries/Malaysia.php +++ b/src/Countries/Malaysia.php @@ -20,7 +20,8 @@ protected function allHolidays(int $year): array 'Hari Perisytiharan Melaka Sebagai Bandaraya Bersejarah' => '04-15', 'Hari Pekerja' => '05-01', 'Hari Hol Pahang' => '05-22', - 'Pesta Keamatan' => '05-30', + 'Pesta Kaamatan' => '05-30', + 'Pesta Kaamatan Hari Kedua' => '05-31', 'Hari Sarawak' => '07-22', 'Hari Kebangsaan' => '08-31', 'Hari Malaysia' => '09-16', diff --git a/tests/.pest/snapshots/Countries/MalaysiaTest/it_can_calculate_Malaysia_holidays.snap b/tests/.pest/snapshots/Countries/MalaysiaTest/it_can_calculate_Malaysia_holidays.snap index 9e0b01aed..da2872962 100644 --- a/tests/.pest/snapshots/Countries/MalaysiaTest/it_can_calculate_Malaysia_holidays.snap +++ b/tests/.pest/snapshots/Countries/MalaysiaTest/it_can_calculate_Malaysia_holidays.snap @@ -24,9 +24,13 @@ "date": "2024-05-22" }, { - "name": "Pesta Keamatan", + "name": "Pesta Kaamatan", "date": "2024-05-30" }, + { + "name": "Pesta Kaamatan Hari Kedua", + "date": "2024-05-31" + }, { "name": "Hari Sarawak", "date": "2024-07-22"