Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienvermeille committed Aug 18, 2024
1 parent 579f1c4 commit ad2ef0c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,11 @@ public CamelCaseStyle createCaseStyle() {

@Override
public List<String> nonMatchingInputs() {
return of(
"some_snake_case",
"SomePascalCase",
"some-kebab-case"
);
return of("some_snake_case", "SomePascalCase", "some-kebab-case");
}

@Override
public List<String> matchingInputs() {
return of(
"someCamelCase",
"shouldStartWithLowerCaseOtherwiseItsPascalCase",
"camel"
);
return of("someCamelCase", "shouldStartWithLowerCaseOtherwiseItsPascalCase", "camel");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,11 @@ public KebabCaseStyle createCaseStyle() {

@Override
public List<String> nonMatchingInputs() {
return of(
"SomePascalCase",
"someCamelCase",
"some_snake_case"
);
return of("SomePascalCase", "someCamelCase", "some_snake_case");
}

@Override
public List<String> matchingInputs() {
return of(
"kebab-case",
"this-is-kebab-case",
"a-very-long-name-using-such-case-style"
);
return of("kebab-case", "this-is-kebab-case", "a-very-long-name-using-such-case-style");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,11 @@ public PascalCaseStyle createCaseStyle() {

@Override
public List<String> nonMatchingInputs() {
return of(
"some_snake_case",
"someCamelCase",
"some-kebab-case"
);
return of("some_snake_case", "someCamelCase", "some-kebab-case");
}

@Override
public List<String> matchingInputs() {
return of(
"SomePascalCase",
"Pascal",
"PascalIsAName"
);
return of("SomePascalCase", "Pascal", "PascalIsAName");
}
}

0 comments on commit ad2ef0c

Please sign in to comment.