aboutsummaryrefslogtreecommitdiff
path: root/passgen/diceware/src/test
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-12-10 15:14:38 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2021-12-21 13:01:40 +0530
commit0f837b003317970d50774df99bd474d3144120f8 (patch)
tree1e67717e1f8b85932fa84f1331b448c9748b8154 /passgen/diceware/src/test
parentc5436b543df466657a1d0dc3af40d4707fca9b9d (diff)
diceware: convert to an Android library
Diffstat (limited to 'passgen/diceware/src/test')
-rw-r--r--passgen/diceware/src/test/kotlin/dev/msfjarvis/aps/passgen/diceware/WordListParserTest.kt5
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")
}
}
}