aboutsummaryrefslogtreecommitdiff
path: root/autofill-parser/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'autofill-parser/src/test')
-rw-r--r--autofill-parser/src/test/kotlin/mozilla/components/lib/publicsuffixlist/PublicSuffixListLoaderTest.kt8
1 files changed, 4 insertions, 4 deletions
diff --git a/autofill-parser/src/test/kotlin/mozilla/components/lib/publicsuffixlist/PublicSuffixListLoaderTest.kt b/autofill-parser/src/test/kotlin/mozilla/components/lib/publicsuffixlist/PublicSuffixListLoaderTest.kt
index 0ee72880..f48759bb 100644
--- a/autofill-parser/src/test/kotlin/mozilla/components/lib/publicsuffixlist/PublicSuffixListLoaderTest.kt
+++ b/autofill-parser/src/test/kotlin/mozilla/components/lib/publicsuffixlist/PublicSuffixListLoaderTest.kt
@@ -10,9 +10,9 @@ import kotlin.test.Test
class PublicSuffixListLoaderTest {
@Test
fun testLoadingBundledPublicSuffixList() {
- requireNotNull(javaClass.classLoader).getResourceAsStream("publicsuffixes").buffered().use {
- stream ->
- PublicSuffixListLoader.load(stream)
- }
+ requireNotNull(javaClass.classLoader) { "Null classloader????" }
+ .getResourceAsStream("publicsuffixes")
+ .buffered()
+ .use { stream -> PublicSuffixListLoader.load(stream) }
}
}