summaryrefslogtreecommitdiff
path: root/autofill-parser/src/test/kotlin
diff options
context:
space:
mode:
authorrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>2023-09-27 18:45:59 +0000
committerGitHub <noreply@github.com>2023-09-27 18:45:59 +0000
commit47d65d074078490b3694f305ad8badc73188dfbc (patch)
treeecc4c9426895af8ddba5967ccc9cba3c52ba60fd /autofill-parser/src/test/kotlin
parent403e378dc33907757979fe681dacefb1366f12f5 (diff)
fix(deps): update dependency com.slack.lint:slack-lint-checks to v0.6.0 (#2697)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'autofill-parser/src/test/kotlin')
-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) }
}
}