diff options
Diffstat (limited to 'passgen/diceware/src/test')
-rw-r--r-- | passgen/diceware/src/test/kotlin/dev/msfjarvis/aps/passgen/diceware/WordListParserTest.kt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/passgen/diceware/src/test/kotlin/dev/msfjarvis/aps/passgen/diceware/WordListParserTest.kt b/passgen/diceware/src/test/kotlin/dev/msfjarvis/aps/passgen/diceware/WordListParserTest.kt index a1633c69..9364085d 100644 --- a/passgen/diceware/src/test/kotlin/dev/msfjarvis/aps/passgen/diceware/WordListParserTest.kt +++ b/passgen/diceware/src/test/kotlin/dev/msfjarvis/aps/passgen/diceware/WordListParserTest.kt @@ -30,9 +30,8 @@ class WordListParserTest { companion object { fun getDefaultWordList(): InputStream { - return requireNotNull( - this::class.java.classLoader.getResourceAsStream("diceware_wordlist.txt") - ) + return requireNotNull(this::class.java.classLoader) + .getResourceAsStream("diceware_wordlist.txt") } } } |