diff --git a/paymentsheet/src/test/java/com/stripe/android/paymentsheet/state/DefaultPaymentElementLoaderTest.kt b/paymentsheet/src/test/java/com/stripe/android/paymentsheet/state/DefaultPaymentElementLoaderTest.kt index 8cff81b1951..5a05c7d82e9 100644 --- a/paymentsheet/src/test/java/com/stripe/android/paymentsheet/state/DefaultPaymentElementLoaderTest.kt +++ b/paymentsheet/src/test/java/com/stripe/android/paymentsheet/state/DefaultPaymentElementLoaderTest.kt @@ -2506,7 +2506,7 @@ internal class DefaultPaymentElementLoaderTest { val defaultPaymentMethod = paymentMethodsForTestingOrdering[defaultPaymentMethodIndex] val defaultPaymentMethodId = defaultPaymentMethod.id - if (setLastUsedIndex != null && setLastUsedIndex in paymentMethodsForTestingOrdering.indices){ + if (setLastUsedIndex != null && setLastUsedIndex in paymentMethodsForTestingOrdering.indices) { val lastUsed = paymentMethodsForTestingOrdering[setLastUsedIndex] prefsRepository.savePaymentSelection(PaymentSelection.Saved(lastUsed)) }