diff --git a/stylesniffer-impl/src/test/java/dev/cookiecode/stylesniffer/impl/CamelCaseStyleTest.java b/stylesniffer-impl/src/test/java/dev/cookiecode/stylesniffer/impl/CamelCaseStyleTest.java index 7d7bb66..a65e35c 100644 --- a/stylesniffer-impl/src/test/java/dev/cookiecode/stylesniffer/impl/CamelCaseStyleTest.java +++ b/stylesniffer-impl/src/test/java/dev/cookiecode/stylesniffer/impl/CamelCaseStyleTest.java @@ -41,19 +41,11 @@ public CamelCaseStyle createCaseStyle() { @Override public List nonMatchingInputs() { - return of( - "some_snake_case", - "SomePascalCase", - "some-kebab-case" - ); + return of("some_snake_case", "SomePascalCase", "some-kebab-case"); } @Override public List matchingInputs() { - return of( - "someCamelCase", - "shouldStartWithLowerCaseOtherwiseItsPascalCase", - "camel" - ); + return of("someCamelCase", "shouldStartWithLowerCaseOtherwiseItsPascalCase", "camel"); } } diff --git a/stylesniffer-impl/src/test/java/dev/cookiecode/stylesniffer/impl/KebabCaseStyleTest.java b/stylesniffer-impl/src/test/java/dev/cookiecode/stylesniffer/impl/KebabCaseStyleTest.java index 6092cf8..2885ab2 100644 --- a/stylesniffer-impl/src/test/java/dev/cookiecode/stylesniffer/impl/KebabCaseStyleTest.java +++ b/stylesniffer-impl/src/test/java/dev/cookiecode/stylesniffer/impl/KebabCaseStyleTest.java @@ -41,19 +41,11 @@ public KebabCaseStyle createCaseStyle() { @Override public List nonMatchingInputs() { - return of( - "SomePascalCase", - "someCamelCase", - "some_snake_case" - ); + return of("SomePascalCase", "someCamelCase", "some_snake_case"); } @Override public List 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"); } } diff --git a/stylesniffer-impl/src/test/java/dev/cookiecode/stylesniffer/impl/PascalCaseStyleTest.java b/stylesniffer-impl/src/test/java/dev/cookiecode/stylesniffer/impl/PascalCaseStyleTest.java index 1fdf9fe..668c95a 100644 --- a/stylesniffer-impl/src/test/java/dev/cookiecode/stylesniffer/impl/PascalCaseStyleTest.java +++ b/stylesniffer-impl/src/test/java/dev/cookiecode/stylesniffer/impl/PascalCaseStyleTest.java @@ -41,19 +41,11 @@ public PascalCaseStyle createCaseStyle() { @Override public List nonMatchingInputs() { - return of( - "some_snake_case", - "someCamelCase", - "some-kebab-case" - ); + return of("some_snake_case", "someCamelCase", "some-kebab-case"); } @Override public List matchingInputs() { - return of( - "SomePascalCase", - "Pascal", - "PascalIsAName" - ); + return of("SomePascalCase", "Pascal", "PascalIsAName"); } }