Skip to content

Commit

Permalink
fix typo in the package name of the resource file (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
vvatanabe committed Apr 12, 2022
1 parent 1084f80 commit 0581ab8
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dictionary.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class DictionaryTask extends DefaultTask {

String src = "./data/"

String dest = "./src/main/resources/com/nulabinc/zxcvbn/matchers/dictionarys/"
String dest = "./src/main/resources/com/nulabinc/zxcvbn/matchers/dictionaries/"

String ext = ".txt"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

public class StandardDictionaries {

private static final String BASE_PATH = "/com/nulabinc/zxcvbn/matchers/dictionarys/";
private static final String BASE_PATH = "/com/nulabinc/zxcvbn/matchers/dictionaries/";

public static final String US_TV_AND_FILM = "us_tv_and_film";

Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/nulabinc/zxcvbn/ZxcvbnBuilderTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public void testBuild3() throws IOException {
@Test
public void testBuild4() throws IOException {
Zxcvbn zxcvbn = new ZxcvbnBuilder()
.dictionary(new DictionaryLoader("us_tv_and_film", new ClasspathResource("/com/nulabinc/zxcvbn/matchers/dictionarys/us_tv_and_film.txt")).load())
.dictionary(new DictionaryLoader("us_tv_and_film", new ClasspathResource("/com/nulabinc/zxcvbn/matchers/dictionaries/us_tv_and_film.txt")).load())
.keyboard(new SlantedKeyboardLoader("qwerty", new ClasspathResource("/com/nulabinc/zxcvbn/matchers/keyboards/qwerty.txt")).load())
.keyboard(new AlignedKeyboardLoader("keypad", new ClasspathResource("/com/nulabinc/zxcvbn/matchers/keyboards/keypad.txt")).load())
.build();
Expand Down

0 comments on commit 0581ab8

Please sign in to comment.