From 1c9e7fc96ad3fb68f16b14793353bfeabdbb92a9 Mon Sep 17 00:00:00 2001 From: Ken Naito Date: Mon, 2 Aug 2021 20:25:04 +0900 Subject: [PATCH] fix: backbutton test code (#1307) --- .../org/apache/cordova/unittests/BackButtonMultipageTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/androidx/app/src/androidTest/java/org/apache/cordova/unittests/BackButtonMultipageTest.java b/test/androidx/app/src/androidTest/java/org/apache/cordova/unittests/BackButtonMultipageTest.java index 25576dbd..83a90e90 100644 --- a/test/androidx/app/src/androidTest/java/org/apache/cordova/unittests/BackButtonMultipageTest.java +++ b/test/androidx/app/src/androidTest/java/org/apache/cordova/unittests/BackButtonMultipageTest.java @@ -158,7 +158,7 @@ public class BackButtonMultipageTest { assertEquals(START_URL, mActivity.onPageFinishedUrl.take()); } - private void assertPageSample(String url) { + private void assertPageSample(String url) throws Throwable { assertEquals(url, mActivity.onPageFinishedUrl.take()); } }