From cf50b3b37183a47cfead7fba188bd50343226d60 Mon Sep 17 00:00:00 2001 From: Jason Atwood Date: Thu, 14 Nov 2024 16:48:30 -0500 Subject: [PATCH] Reapply fixes for french-candandia format of CAD I had "fixed" these once before when I was accidentally running Java 17 locally. I needed to revert my fix because I should have been running Java 11 (to match CI) Now that we are bumping to Java 17 for everything I can reapply these fixes. --- .../com/afterpay/android/AfterpayInstalmentLocaleTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/afterpay/src/test/kotlin/com/afterpay/android/AfterpayInstalmentLocaleTest.kt b/afterpay/src/test/kotlin/com/afterpay/android/AfterpayInstalmentLocaleTest.kt index fc506894..8048da79 100644 --- a/afterpay/src/test/kotlin/com/afterpay/android/AfterpayInstalmentLocaleTest.kt +++ b/afterpay/src/test/kotlin/com/afterpay/android/AfterpayInstalmentLocaleTest.kt @@ -89,7 +89,7 @@ class AfterpayInstalmentLocaleTest { val instalments = createAllAvailableInstalments(oneHundredAndTwenty, Locales.FR_CA) assertEquals("$30,00 AUD", instalments.aud.instalmentAmount) - assertEquals("30,00 $", instalments.cad.instalmentAmount) + assertEquals("30,00 $ CA", instalments.cad.instalmentAmount) assertEquals("£30,00", instalments.gbp.instalmentAmount) assertEquals("$30,00 NZD", instalments.nzd.instalmentAmount) assertEquals("$30,00 USD", instalments.usd.instalmentAmount) @@ -100,7 +100,7 @@ class AfterpayInstalmentLocaleTest { val instalments = createAllUnavailableInstalments(oneHundredAndTwenty, Locales.FR_CA) assertEquals("$10 AUD", instalments.aud.minimumAmount) - assertEquals("10 $", instalments.cad.minimumAmount) + assertEquals("10 $ CA", instalments.cad.minimumAmount) assertEquals("£10", instalments.gbp.minimumAmount) assertEquals("$10 NZD", instalments.nzd.minimumAmount) assertEquals("$10 USD", instalments.usd.minimumAmount)