diff --git a/src/test/java/org/eolang/lints/LintByXslTest.java b/src/test/java/org/eolang/lints/LintByXslTest.java index 7015d82..cf2688a 100644 --- a/src/test/java/org/eolang/lints/LintByXslTest.java +++ b/src/test/java/org/eolang/lints/LintByXslTest.java @@ -56,7 +56,7 @@ void lintsOneFile() throws IOException { } @ParameterizedTest - @ClasspathSource(value = "org/eolang/lints/", glob = "**.yaml") + @ClasspathSource(value = "org/eolang/lints/packs/", glob = "**.yaml") void testsAllLints(final String pack) throws IOException { final CheckPack check = new CheckPack(pack); if (check.skip()) { diff --git a/src/test/resources/org/eolang/lints/alias-too-long/catches-long-alias.yaml b/src/test/resources/org/eolang/lints/packs/alias-too-long/catches-long-alias.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/alias-too-long/catches-long-alias.yaml rename to src/test/resources/org/eolang/lints/packs/alias-too-long/catches-long-alias.yaml diff --git a/src/test/resources/org/eolang/lints/alias-too-long/passes-short-aliases.yaml b/src/test/resources/org/eolang/lints/packs/alias-too-long/passes-short-aliases.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/alias-too-long/passes-short-aliases.yaml rename to src/test/resources/org/eolang/lints/packs/alias-too-long/passes-short-aliases.yaml diff --git a/src/test/resources/org/eolang/lints/alias-without-tail/catches-alias-without-tail.yaml b/src/test/resources/org/eolang/lints/packs/alias-without-tail/catches-alias-without-tail.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/alias-without-tail/catches-alias-without-tail.yaml rename to src/test/resources/org/eolang/lints/packs/alias-without-tail/catches-alias-without-tail.yaml diff --git a/src/test/resources/org/eolang/lints/alias-without-tail/passes-good-aliases.yaml b/src/test/resources/org/eolang/lints/packs/alias-without-tail/passes-good-aliases.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/alias-without-tail/passes-good-aliases.yaml rename to src/test/resources/org/eolang/lints/packs/alias-without-tail/passes-good-aliases.yaml diff --git a/src/test/resources/org/eolang/lints/broken-alias/accepts-good-aliases.yaml b/src/test/resources/org/eolang/lints/packs/broken-alias/accepts-good-aliases.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/broken-alias/accepts-good-aliases.yaml rename to src/test/resources/org/eolang/lints/packs/broken-alias/accepts-good-aliases.yaml diff --git a/src/test/resources/org/eolang/lints/broken-alias/catches-broken-aliases.yaml b/src/test/resources/org/eolang/lints/packs/broken-alias/catches-broken-aliases.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/broken-alias/catches-broken-aliases.yaml rename to src/test/resources/org/eolang/lints/packs/broken-alias/catches-broken-aliases.yaml diff --git a/src/test/resources/org/eolang/lints/broken-refs/broken-refs.yaml b/src/test/resources/org/eolang/lints/packs/broken-refs/broken-refs.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/broken-refs/broken-refs.yaml rename to src/test/resources/org/eolang/lints/packs/broken-refs/broken-refs.yaml diff --git a/src/test/resources/org/eolang/lints/catches-abstract-decoratee.yaml b/src/test/resources/org/eolang/lints/packs/catches-abstract-decoratee.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/catches-abstract-decoratee.yaml rename to src/test/resources/org/eolang/lints/packs/catches-abstract-decoratee.yaml diff --git a/src/test/resources/org/eolang/lints/catches-alias-duplicates.yaml b/src/test/resources/org/eolang/lints/packs/catches-alias-duplicates.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/catches-alias-duplicates.yaml rename to src/test/resources/org/eolang/lints/packs/catches-alias-duplicates.yaml diff --git a/src/test/resources/org/eolang/lints/catches-atoms-without-rt.yaml b/src/test/resources/org/eolang/lints/packs/catches-atoms-without-rt.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/catches-atoms-without-rt.yaml rename to src/test/resources/org/eolang/lints/packs/catches-atoms-without-rt.yaml diff --git a/src/test/resources/org/eolang/lints/catches-comment-without-dot.yaml b/src/test/resources/org/eolang/lints/packs/catches-comment-without-dot.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/catches-comment-without-dot.yaml rename to src/test/resources/org/eolang/lints/packs/catches-comment-without-dot.yaml diff --git a/src/test/resources/org/eolang/lints/catches-duplicate-metas.yaml b/src/test/resources/org/eolang/lints/packs/catches-duplicate-metas.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/catches-duplicate-metas.yaml rename to src/test/resources/org/eolang/lints/packs/catches-duplicate-metas.yaml diff --git a/src/test/resources/org/eolang/lints/catches-empty-package-meta.yaml b/src/test/resources/org/eolang/lints/packs/catches-empty-package-meta.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/catches-empty-package-meta.yaml rename to src/test/resources/org/eolang/lints/packs/catches-empty-package-meta.yaml diff --git a/src/test/resources/org/eolang/lints/catches-external-weak-typed-atoms.yaml b/src/test/resources/org/eolang/lints/packs/catches-external-weak-typed-atoms.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/catches-external-weak-typed-atoms.yaml rename to src/test/resources/org/eolang/lints/packs/catches-external-weak-typed-atoms.yaml diff --git a/src/test/resources/org/eolang/lints/catches-global-nonames.yaml b/src/test/resources/org/eolang/lints/packs/catches-global-nonames.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/catches-global-nonames.yaml rename to src/test/resources/org/eolang/lints/packs/catches-global-nonames.yaml diff --git a/src/test/resources/org/eolang/lints/catches-incorrect-architect.yaml b/src/test/resources/org/eolang/lints/packs/catches-incorrect-architect.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/catches-incorrect-architect.yaml rename to src/test/resources/org/eolang/lints/packs/catches-incorrect-architect.yaml diff --git a/src/test/resources/org/eolang/lints/catches-incorrect-home.yaml b/src/test/resources/org/eolang/lints/packs/catches-incorrect-home.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/catches-incorrect-home.yaml rename to src/test/resources/org/eolang/lints/packs/catches-incorrect-home.yaml diff --git a/src/test/resources/org/eolang/lints/catches-incorrect-version.yaml b/src/test/resources/org/eolang/lints/packs/catches-incorrect-version.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/catches-incorrect-version.yaml rename to src/test/resources/org/eolang/lints/packs/catches-incorrect-version.yaml diff --git a/src/test/resources/org/eolang/lints/catches-mandatory-home-meta.yaml b/src/test/resources/org/eolang/lints/packs/catches-mandatory-home-meta.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/catches-mandatory-home-meta.yaml rename to src/test/resources/org/eolang/lints/packs/catches-mandatory-home-meta.yaml diff --git a/src/test/resources/org/eolang/lints/catches-mandatory-package-meta.yaml b/src/test/resources/org/eolang/lints/packs/catches-mandatory-package-meta.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/catches-mandatory-package-meta.yaml rename to src/test/resources/org/eolang/lints/packs/catches-mandatory-package-meta.yaml diff --git a/src/test/resources/org/eolang/lints/catches-mandatory-version-meta.yaml b/src/test/resources/org/eolang/lints/packs/catches-mandatory-version-meta.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/catches-mandatory-version-meta.yaml rename to src/test/resources/org/eolang/lints/packs/catches-mandatory-version-meta.yaml diff --git a/src/test/resources/org/eolang/lints/catches-many-free-attrs.yaml b/src/test/resources/org/eolang/lints/packs/catches-many-free-attrs.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/catches-many-free-attrs.yaml rename to src/test/resources/org/eolang/lints/packs/catches-many-free-attrs.yaml diff --git a/src/test/resources/org/eolang/lints/catches-noname-attrs.yaml b/src/test/resources/org/eolang/lints/packs/catches-noname-attrs.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/catches-noname-attrs.yaml rename to src/test/resources/org/eolang/lints/packs/catches-noname-attrs.yaml diff --git a/src/test/resources/org/eolang/lints/catches-not-capitalized-comment.yaml b/src/test/resources/org/eolang/lints/packs/catches-not-capitalized-comment.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/catches-not-capitalized-comment.yaml rename to src/test/resources/org/eolang/lints/packs/catches-not-capitalized-comment.yaml diff --git a/src/test/resources/org/eolang/lints/catches-not-one-home-meta.yaml b/src/test/resources/org/eolang/lints/packs/catches-not-one-home-meta.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/catches-not-one-home-meta.yaml rename to src/test/resources/org/eolang/lints/packs/catches-not-one-home-meta.yaml diff --git a/src/test/resources/org/eolang/lints/catches-not-one-package-meta.yaml b/src/test/resources/org/eolang/lints/packs/catches-not-one-package-meta.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/catches-not-one-package-meta.yaml rename to src/test/resources/org/eolang/lints/packs/catches-not-one-package-meta.yaml diff --git a/src/test/resources/org/eolang/lints/catches-not-one-version-meta.yaml b/src/test/resources/org/eolang/lints/packs/catches-not-one-version-meta.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/catches-not-one-version-meta.yaml rename to src/test/resources/org/eolang/lints/packs/catches-not-one-version-meta.yaml diff --git a/src/test/resources/org/eolang/lints/catches-prohibited-package.yaml b/src/test/resources/org/eolang/lints/packs/catches-prohibited-package.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/catches-prohibited-package.yaml rename to src/test/resources/org/eolang/lints/packs/catches-prohibited-package.yaml diff --git a/src/test/resources/org/eolang/lints/catches-rt-without-atoms.yaml b/src/test/resources/org/eolang/lints/packs/catches-rt-without-atoms.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/catches-rt-without-atoms.yaml rename to src/test/resources/org/eolang/lints/packs/catches-rt-without-atoms.yaml diff --git a/src/test/resources/org/eolang/lints/catches-signed-binding-index.yaml b/src/test/resources/org/eolang/lints/packs/catches-signed-binding-index.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/catches-signed-binding-index.yaml rename to src/test/resources/org/eolang/lints/packs/catches-signed-binding-index.yaml diff --git a/src/test/resources/org/eolang/lints/catches-sparse-decoration.yaml b/src/test/resources/org/eolang/lints/packs/catches-sparse-decoration.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/catches-sparse-decoration.yaml rename to src/test/resources/org/eolang/lints/packs/catches-sparse-decoration.yaml diff --git a/src/test/resources/org/eolang/lints/catches-too-short-comment.yaml b/src/test/resources/org/eolang/lints/packs/catches-too-short-comment.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/catches-too-short-comment.yaml rename to src/test/resources/org/eolang/lints/packs/catches-too-short-comment.yaml diff --git a/src/test/resources/org/eolang/lints/catches-unit-test-without-phi.yaml b/src/test/resources/org/eolang/lints/packs/catches-unit-test-without-phi.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/catches-unit-test-without-phi.yaml rename to src/test/resources/org/eolang/lints/packs/catches-unit-test-without-phi.yaml diff --git a/src/test/resources/org/eolang/lints/catches-unknown-names.yaml b/src/test/resources/org/eolang/lints/packs/catches-unknown-names.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/catches-unknown-names.yaml rename to src/test/resources/org/eolang/lints/packs/catches-unknown-names.yaml diff --git a/src/test/resources/org/eolang/lints/catches-unused-aliases.yaml b/src/test/resources/org/eolang/lints/packs/catches-unused-aliases.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/catches-unused-aliases.yaml rename to src/test/resources/org/eolang/lints/packs/catches-unused-aliases.yaml diff --git a/src/test/resources/org/eolang/lints/duplicate-names/catches-conflict-with-auto-name.yaml b/src/test/resources/org/eolang/lints/packs/duplicate-names/catches-conflict-with-auto-name.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/duplicate-names/catches-conflict-with-auto-name.yaml rename to src/test/resources/org/eolang/lints/packs/duplicate-names/catches-conflict-with-auto-name.yaml diff --git a/src/test/resources/org/eolang/lints/duplicate-names/catches-duplicate-names.yaml b/src/test/resources/org/eolang/lints/packs/duplicate-names/catches-duplicate-names.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/duplicate-names/catches-duplicate-names.yaml rename to src/test/resources/org/eolang/lints/packs/duplicate-names/catches-duplicate-names.yaml diff --git a/src/test/resources/org/eolang/lints/duplicate-names/catches-name-duplicates.yaml b/src/test/resources/org/eolang/lints/packs/duplicate-names/catches-name-duplicates.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/duplicate-names/catches-name-duplicates.yaml rename to src/test/resources/org/eolang/lints/packs/duplicate-names/catches-name-duplicates.yaml diff --git a/src/test/resources/org/eolang/lints/duplicate-names/multi-anonymous.yaml b/src/test/resources/org/eolang/lints/packs/duplicate-names/multi-anonymous.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/duplicate-names/multi-anonymous.yaml rename to src/test/resources/org/eolang/lints/packs/duplicate-names/multi-anonymous.yaml diff --git a/src/test/resources/org/eolang/lints/self-naming/catches-self-naming-with-method-and-this.yaml b/src/test/resources/org/eolang/lints/packs/self-naming/catches-self-naming-with-method-and-this.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/self-naming/catches-self-naming-with-method-and-this.yaml rename to src/test/resources/org/eolang/lints/packs/self-naming/catches-self-naming-with-method-and-this.yaml diff --git a/src/test/resources/org/eolang/lints/self-naming/catches-self-naming-with-method.yaml b/src/test/resources/org/eolang/lints/packs/self-naming/catches-self-naming-with-method.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/self-naming/catches-self-naming-with-method.yaml rename to src/test/resources/org/eolang/lints/packs/self-naming/catches-self-naming-with-method.yaml diff --git a/src/test/resources/org/eolang/lints/self-naming/catches-self-naming-with-this.yaml b/src/test/resources/org/eolang/lints/packs/self-naming/catches-self-naming-with-this.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/self-naming/catches-self-naming-with-this.yaml rename to src/test/resources/org/eolang/lints/packs/self-naming/catches-self-naming-with-this.yaml diff --git a/src/test/resources/org/eolang/lints/self-naming/catches-self-naming.yaml b/src/test/resources/org/eolang/lints/packs/self-naming/catches-self-naming.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/self-naming/catches-self-naming.yaml rename to src/test/resources/org/eolang/lints/packs/self-naming/catches-self-naming.yaml diff --git a/src/test/resources/org/eolang/lints/self-naming/self-naming-no-catch.yaml b/src/test/resources/org/eolang/lints/packs/self-naming/self-naming-no-catch.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/self-naming/self-naming-no-catch.yaml rename to src/test/resources/org/eolang/lints/packs/self-naming/self-naming-no-catch.yaml diff --git a/src/test/resources/org/eolang/lints/unsorted-metas/catches-many-unsorted-metas.yaml b/src/test/resources/org/eolang/lints/packs/unsorted-metas/catches-many-unsorted-metas.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/unsorted-metas/catches-many-unsorted-metas.yaml rename to src/test/resources/org/eolang/lints/packs/unsorted-metas/catches-many-unsorted-metas.yaml diff --git a/src/test/resources/org/eolang/lints/unsorted-metas/catches-metas-unsorted.yaml b/src/test/resources/org/eolang/lints/packs/unsorted-metas/catches-metas-unsorted.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/unsorted-metas/catches-metas-unsorted.yaml rename to src/test/resources/org/eolang/lints/packs/unsorted-metas/catches-metas-unsorted.yaml diff --git a/src/test/resources/org/eolang/lints/unsorted-metas/ignores-empty-metas.yaml b/src/test/resources/org/eolang/lints/packs/unsorted-metas/ignores-empty-metas.yaml similarity index 100% rename from src/test/resources/org/eolang/lints/unsorted-metas/ignores-empty-metas.yaml rename to src/test/resources/org/eolang/lints/packs/unsorted-metas/ignores-empty-metas.yaml diff --git a/src/test/resources/org/eolang/lints/zero-version/zero-version-correct.yml b/src/test/resources/org/eolang/lints/packs/zero-version/zero-version-correct.yml similarity index 100% rename from src/test/resources/org/eolang/lints/zero-version/zero-version-correct.yml rename to src/test/resources/org/eolang/lints/packs/zero-version/zero-version-correct.yml diff --git a/src/test/resources/org/eolang/lints/zero-version/zero-version-incorrect-for-main.yml b/src/test/resources/org/eolang/lints/packs/zero-version/zero-version-incorrect-for-main.yml similarity index 100% rename from src/test/resources/org/eolang/lints/zero-version/zero-version-incorrect-for-main.yml rename to src/test/resources/org/eolang/lints/packs/zero-version/zero-version-incorrect-for-main.yml diff --git a/src/test/resources/org/eolang/lints/zero-version/zero-version-incorrect-for-test.yml b/src/test/resources/org/eolang/lints/packs/zero-version/zero-version-incorrect-for-test.yml similarity index 100% rename from src/test/resources/org/eolang/lints/zero-version/zero-version-incorrect-for-test.yml rename to src/test/resources/org/eolang/lints/packs/zero-version/zero-version-incorrect-for-test.yml diff --git a/src/test/resources/org/eolang/lints/zero-version/zero-version-no-version.yml b/src/test/resources/org/eolang/lints/packs/zero-version/zero-version-no-version.yml similarity index 100% rename from src/test/resources/org/eolang/lints/zero-version/zero-version-no-version.yml rename to src/test/resources/org/eolang/lints/packs/zero-version/zero-version-no-version.yml diff --git a/src/test/resources/org/eolang/lints/zero-version/zero-version-not-applicable-source.yml b/src/test/resources/org/eolang/lints/packs/zero-version/zero-version-not-applicable-source.yml similarity index 100% rename from src/test/resources/org/eolang/lints/zero-version/zero-version-not-applicable-source.yml rename to src/test/resources/org/eolang/lints/packs/zero-version/zero-version-not-applicable-source.yml