Skip to content

Commit

Permalink
Fix test (#1235)
Browse files Browse the repository at this point in the history
  • Loading branch information
mshafrir-stripe authored Jul 22, 2019
1 parent 1184e1b commit 6d7d836
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion stripe/src/test/java/com/stripe/android/StripeTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
import java.util.Calendar;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.concurrent.Executor;

Expand Down Expand Up @@ -96,7 +97,10 @@ public void setup() {

@Test
public void testVersion() {
assertEquals("AndroidBindings/10.0.0", Stripe.VERSION);
assertEquals(
String.format(Locale.ROOT, "AndroidBindings/%s", BuildConfig.VERSION_NAME),
Stripe.VERSION
);
}

@Test
Expand Down

0 comments on commit 6d7d836

Please sign in to comment.