From 7ee9ebc1510180155de6572e0f8291bb7f9e698d Mon Sep 17 00:00:00 2001 From: Vyacheslav Rybalchenko Date: Sun, 21 Apr 2024 16:23:58 +0300 Subject: [PATCH] fix(objectionary#3035): fix ./eo-parser yaml linting errors and warnings --- .../resources/org/eolang/parser/packs/add-locators.yaml | 3 ++- .../test/resources/org/eolang/parser/packs/add-probes.yaml | 1 + .../org/eolang/parser/packs/add-versioned-probes.yaml | 1 + .../org/eolang/parser/packs/adds-default-package.yaml | 1 + .../test/resources/org/eolang/parser/packs/adds-refs.yaml | 1 + .../resources/org/eolang/parser/packs/all-data-types.yaml | 3 ++- .../resources/org/eolang/parser/packs/broken-refs.yaml | 3 ++- .../parser/packs/catches/catches-abstract-decoratee.yaml | 1 + .../parser/packs/catches/catches-alias-duplicates.yaml | 1 + .../parser/packs/catches/catches-atoms-without-rt.yaml | 1 + .../parser/packs/catches/catches-broken-aliases.yaml | 1 + .../catches/catches-comment-format-without-tests.yaml | 3 ++- .../parser/packs/catches/catches-duplicate-metas.yaml | 1 + .../parser/packs/catches/catches-duplicate-names.yaml | 1 + .../parser/packs/catches/catches-empty-package-meta.yaml | 1 + .../packs/catches/catches-external-weak-typed-atoms.yaml | 1 + .../parser/packs/catches/catches-global-nonames.yaml | 3 ++- .../parser/packs/catches/catches-incorrect-architect.yaml | 1 + .../parser/packs/catches/catches-incorrect-home.yaml | 3 ++- .../parser/packs/catches/catches-incorrect-version.yaml | 1 + .../parser/packs/catches/catches-mandatory-home-meta.yaml | 1 + .../packs/catches/catches-mandatory-package-meta.yaml | 1 + .../packs/catches/catches-mandatory-version-meta.yaml | 1 + .../parser/packs/catches/catches-many-free-attrs.yaml | 1 + .../parser/packs/catches/catches-metas-unsorted.yaml | 1 + .../parser/packs/catches/catches-name-duplicates.yaml | 1 + .../eolang/parser/packs/catches/catches-noname-attrs.yaml | 1 + .../parser/packs/catches/catches-not-one-home-meta.yaml | 1 + .../parser/packs/catches/catches-not-one-package-meta.yaml | 1 + .../parser/packs/catches/catches-not-one-version-meta.yaml | 1 + .../parser/packs/catches/catches-only-name-duplicates.yaml | 3 ++- .../parser/packs/catches/catches-prohibited-package.yaml | 3 ++- .../parser/packs/catches/catches-rt-without-atoms.yaml | 1 + .../catches/catches-self-naming-with-method-and-this.yaml | 1 + .../packs/catches/catches-self-naming-with-method.yaml | 1 + .../packs/catches/catches-self-naming-with-this.yaml | 1 + .../eolang/parser/packs/catches/catches-self-naming.yaml | 1 + .../parser/packs/catches/catches-signed-binding-index.yaml | 1 + .../parser/packs/catches/catches-sparse-decoration.yaml | 3 ++- .../packs/catches/catches-unit-test-without-phi.yaml | 1 + .../eolang/parser/packs/catches/catches-unknown-names.yaml | 1 + .../parser/packs/catches/catches-unused-aliases.yaml | 1 + .../org/eolang/parser/packs/const-to-dataized.yaml | 1 + .../org/eolang/parser/packs/cti/cti-adds-error.yaml | 3 ++- .../org/eolang/parser/packs/cti/cti-adds-warning.yaml | 3 ++- .../resources/org/eolang/parser/packs/empty-vs-free.yaml | 3 ++- .../test/resources/org/eolang/parser/packs/expand-qqs.yaml | 3 ++- .../resources/org/eolang/parser/packs/expands-aliases.yaml | 3 ++- .../resources/org/eolang/parser/packs/explicit-data.yaml | 1 + .../org/eolang/parser/packs/float-up-same-attrs.yaml | 1 + .../eolang/parser/packs/float-vars-with-pre-methods.yaml | 1 + .../test/resources/org/eolang/parser/packs/float-vars.yaml | 3 ++- .../resources/org/eolang/parser/packs/full-syntax.yaml | 5 +++-- .../resources/org/eolang/parser/packs/has-comment.yaml | 3 ++- .../test/resources/org/eolang/parser/packs/leap-year.yaml | 1 + .../resources/org/eolang/parser/packs/line-numbers.yaml | 3 ++- .../resources/org/eolang/parser/packs/onlyphi-bound.yaml | 3 ++- .../parser/packs/optimize/fix-names-with-duplicates.yaml | 3 ++- .../org/eolang/parser/packs/optimize/fixes-globals.yaml | 1 + .../org/eolang/parser/packs/optimize/float-abstracts.yaml | 1 + .../eolang/parser/packs/optimize/float-and-keep-names.yaml | 1 + .../parser/packs/optimize/float-nested-anonymous.yaml | 3 ++- .../parser/packs/optimize/floating-sets-parent-names.yaml | 1 + .../org/eolang/parser/packs/optimize/multi-anonymous.yaml | 1 + .../eolang/parser/packs/optimize/not-redundant-levels.yaml | 1 + ...dundant-levels-with-arguments-and-abstract-parents.yaml | 3 ++- .../redundant-levels-with-arguments-and-siblings.yaml | 3 ++- .../packs/optimize/redundant-levels-with-arrays.yaml | 3 ++- .../packs/optimize/redundant-levels-with-siblings.yaml | 3 ++- .../org/eolang/parser/packs/optimize/redundant-levels.yaml | 3 ++- .../resources/org/eolang/parser/packs/parsed-data.yaml | 1 + .../org/eolang/parser/packs/preserves-spaces.yaml | 1 + .../eolang/parser/packs/priority/additional-brackets.yaml | 3 ++- .../org/eolang/parser/packs/priority/space-between.yaml | 1 + .../test/resources/org/eolang/parser/packs/recursion.yaml | 3 ++- .../org/eolang/parser/packs/resolves-aliases.yaml | 1 + .../org/eolang/parser/packs/scope-before-method.yaml | 5 +++-- .../org/eolang/parser/packs/scopes-double-scope.yaml | 3 ++- .../resources/org/eolang/parser/packs/scopes-nested.yaml | 5 +++-- .../eolang/parser/packs/scopes-with-doubled-methods.yaml | 3 ++- .../eolang/parser/packs/scopes-with-nested-methods.yaml | 1 + .../src/test/resources/org/eolang/parser/packs/scopes.yaml | 5 +++-- .../org/eolang/parser/packs/self-naming-no-catch.yaml | 1 + .../src/test/resources/org/eolang/parser/packs/simple.yaml | 5 +++-- .../org/eolang/parser/packs/syntax/anonymous-more.yaml | 1 + .../org/eolang/parser/packs/syntax/anonymous.yaml | 3 ++- .../eolang/parser/packs/syntax/bool-tests-straight.yaml | 5 +++-- .../parser/packs/syntax/bound-reversed-application.yaml | 5 +++-- .../org/eolang/parser/packs/syntax/escape-sequences.yaml | 4 ++-- .../resources/org/eolang/parser/packs/syntax/numbers.yaml | 3 ++- .../org/eolang/parser/packs/syntax/post-method.yaml | 3 ++- .../org/eolang/parser/packs/syntax/pre-method.yaml | 3 ++- .../eolang/parser/packs/syntax/redundant-parentheses.yaml | 3 ++- .../org/eolang/parser/packs/syntax/text-block.yaml | 3 ++- .../resources/org/eolang/parser/packs/syntax/tuples.yaml | 1 + .../resources/org/eolang/parser/packs/syntax/versions.yaml | 3 ++- .../packs/syntax/vertical-methods-in-application.yaml | 3 ++- .../parser/packs/syntax/vmethod-after-formation.yaml | 5 +++-- .../test/resources/org/eolang/parser/packs/unicode.yaml | 3 ++- .../resources/org/eolang/parser/packs/wraps-methods.yaml | 1 + .../test/resources/org/eolang/parser/samples/bytes.yaml | 1 + .../test/resources/org/eolang/parser/samples/dataless.yaml | 1 + .../resources/org/eolang/parser/samples/empty-bytes.yaml | 1 + .../resources/org/eolang/parser/samples/empty-string.yaml | 1 + .../resources/org/eolang/parser/samples/idiomatic.yaml | 1 + .../resources/org/eolang/parser/samples/inheritance.yaml | 1 + .../org/eolang/parser/samples/inner-formation.yaml | 1 + .../resources/org/eolang/parser/samples/just-float.yaml | 1 + .../org/eolang/parser/samples/multiline-string.yaml | 1 + .../org/eolang/parser/samples/same-name-inners.yaml | 1 + .../resources/org/eolang/parser/samples/stars-tuples.yaml | 1 + .../test/resources/org/eolang/parser/samples/times.yaml | 1 + .../org/eolang/parser/typos/binding-with-rho.yaml | 1 + .../resources/org/eolang/parser/typos/broken-head.yaml | 1 + .../org/eolang/parser/typos/comment-in-method.yaml | 1 + .../org/eolang/parser/typos/double-empty-lines.yaml | 5 +++-- .../eolang/parser/typos/double-root-inside-locator.yaml | 1 + .../eolang/parser/typos/empty-line-before-application.yaml | 1 + .../parser/typos/empty-line-before-first-object.yaml | 1 + .../eolang/parser/typos/empty-line-before-method-2.yaml | 7 ++++--- .../org/eolang/parser/typos/empty-line-before-method.yaml | 1 + .../eolang/parser/typos/empty-line-before-ref-deep.yaml | 1 + .../org/eolang/parser/typos/empty-line-before-ref.yaml | 1 + .../org/eolang/parser/typos/empty-line-between-metas.yaml | 5 +++-- .../parser/typos/empty-line-in-vertical-application.yaml | 1 + .../resources/org/eolang/parser/typos/empty-object.yaml | 1 + .../org/eolang/parser/typos/hmethod-after-vmethod.yaml | 3 ++- .../org/eolang/parser/typos/invalid-int-literal.yaml | 1 + .../resources/org/eolang/parser/typos/long-character.yaml | 1 + .../parser/typos/missing-empty-line-after-metas.yaml | 1 + .../resources/org/eolang/parser/typos/not-empty-atoms.yaml | 1 + .../org/eolang/parser/typos/one-space-indent.yaml | 1 + .../parser/typos/redundant-parentheses/extra-braces-1.yaml | 3 ++- .../parser/typos/redundant-parentheses/extra-braces-2.yaml | 3 ++- .../parser/typos/redundant-parentheses/extra-braces-3.yaml | 3 ++- .../parser/typos/redundant-parentheses/extra-braces-4.yaml | 3 ++- .../parser/typos/redundant-parentheses/extra-braces-5.yaml | 3 ++- .../parser/typos/redundant-parentheses/extra-braces-6.yaml | 3 ++- .../parser/typos/redundant-parentheses/just-number.yaml | 3 ++- .../typos/redundant-parentheses/negative-numbers.yaml | 3 ++- .../eolang/parser/typos/redundant-parentheses/numbers.yaml | 1 + .../redundant-parentheses/simple-application-named.yaml | 1 + .../typos/redundant-parentheses/simple-application.yaml | 1 + .../org/eolang/parser/typos/redundent-parenheses.yaml | 1 + .../eolang/parser/typos/reversed-as-separate-argument.yaml | 1 + .../org/eolang/parser/typos/root-inside-locator.yaml | 1 + .../parser/typos/scoped-application-after-suffix.yaml | 3 ++- .../resources/org/eolang/parser/typos/space-in-naming.yaml | 1 + .../resources/org/eolang/parser/typos/space-in-tail.yaml | 1 + .../org/eolang/parser/typos/suffix-with-dots.yaml | 1 + .../org/eolang/parser/typos/too-far-right-indent.yaml | 1 + .../org/eolang/parser/typos/trailing-space-in-comment.yaml | 2 ++ .../resources/org/eolang/parser/typos/varargs-inside.yaml | 1 + .../parser/typos/version-with-inline-application.yaml | 1 + .../typos/vertical-method-in-horizontal-application.yaml | 3 ++- .../org/eolang/parser/typos/vertical-method-in-scope.yaml | 3 ++- .../eolang/parser/typos/vmethod-after-happlication.yaml | 3 ++- .../org/eolang/parser/typos/vmethod-after-hmethod.yaml | 3 ++- .../org/eolang/parser/typos/xi-inside-locator.yaml | 1 + .../resources/org/eolang/parser/xax/add-locs-with-dot.yml | 1 + .../src/test/resources/org/eolang/parser/xax/add-locs.yml | 1 + .../src/test/resources/org/eolang/parser/xax/add-refs.yml | 1 + .../org/eolang/parser/xax/zero-version-correct.yml | 1 + .../eolang/parser/xax/zero-version-incorrect-for-main.yml | 1 + .../eolang/parser/xax/zero-version-incorrect-for-test.yml | 1 + .../org/eolang/parser/xax/zero-version-no-version.yml | 1 + .../parser/xax/zero-version-not-applicable-source.yml | 1 + 167 files changed, 244 insertions(+), 77 deletions(-) diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/add-locators.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/add-locators.yaml index fde8d21a66..ff859aa42d 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/add-locators.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/add-locators.yaml @@ -1,3 +1,4 @@ +--- tests: - /program/errors[count(error)=0] - //o[@name='a' and @loc='Φ.org.abc.a'] @@ -36,5 +37,5 @@ eo: | 6.2 [e] e.hello > @ - + $.&.^.p > q diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/add-probes.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/add-probes.yaml index ecb7f0a607..a4957388e2 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/add-probes.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/add-probes.yaml @@ -1,3 +1,4 @@ +--- tests: - /program/errors[count(error)=0] - /program/sheets/sheet[contains(text(),'add-probes')] diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/add-versioned-probes.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/add-versioned-probes.yaml index c581535ddc..9c270dbffd 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/add-versioned-probes.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/add-versioned-probes.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/wrap-method-calls.xsl - /org/eolang/parser/expand-qqs.xsl diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/adds-default-package.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/adds-default-package.yaml index f49ae8328b..5dbceacc7d 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/adds-default-package.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/adds-default-package.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/add-refs.xsl - /org/eolang/parser/expand-aliases.xsl diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/adds-refs.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/adds-refs.yaml index 903479fb86..d7ae30fded 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/adds-refs.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/adds-refs.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/critical-errors/duplicate-names.xsl - /org/eolang/parser/errors/self-naming.xsl diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/all-data-types.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/all-data-types.yaml index 7610aa93aa..0eb089c016 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/all-data-types.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/all-data-types.yaml @@ -1,3 +1,4 @@ +--- xsls: [ ] tests: - /program/errors[count(*)=0] @@ -19,7 +20,7 @@ tests: - //o[@base='string' and @name='textX' and @data] eo: | +package test - + 01- > bytesX 00-02-4F-1A-FF-01 > bytesX diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/broken-refs.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/broken-refs.yaml index 80d8a90f10..9d36784672 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/broken-refs.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/broken-refs.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/add-refs.xsl - /org/eolang/parser/errors/broken-refs.xsl @@ -9,4 +10,4 @@ eo: | # This is the default 64+ symbols comment in front of abstract object. [] > app 42 > a - a.plus 1 > @ \ No newline at end of file + a.plus 1 > @ diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-abstract-decoratee.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-abstract-decoratee.yaml index 6ae4a83209..8eb127fc10 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-abstract-decoratee.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-abstract-decoratee.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/errors/abstract-decoratee.xsl tests: diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-alias-duplicates.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-alias-duplicates.yaml index ca44664bde..286877b2dc 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-alias-duplicates.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-alias-duplicates.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/errors/duplicate-aliases.xsl tests: diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-atoms-without-rt.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-atoms-without-rt.yaml index 090505622f..ad7fa5945f 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-atoms-without-rt.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-atoms-without-rt.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/errors/rt-and-atoms.xsl tests: diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-broken-aliases.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-broken-aliases.yaml index b03aadd66d..de017cefb4 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-broken-aliases.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-broken-aliases.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/errors/broken-aliases.xsl tests: diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-comment-format-without-tests.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-comment-format-without-tests.yaml index a9f1e95aa4..b131f3519a 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-comment-format-without-tests.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-comment-format-without-tests.yaml @@ -1,4 +1,5 @@ -xsls: [] +--- +xsls: [ ] tests: - /program/errors[count(error)=0] eo: | diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-duplicate-metas.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-duplicate-metas.yaml index 09b32e006e..0bd0ef57dd 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-duplicate-metas.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-duplicate-metas.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/warnings/duplicate-metas.xsl tests: diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-duplicate-names.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-duplicate-names.yaml index 95963ce03a..e555e899ad 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-duplicate-names.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-duplicate-names.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/critical-errors/duplicate-names.xsl tests: diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-empty-package-meta.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-empty-package-meta.yaml index 10cece60c3..c9a77131c3 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-empty-package-meta.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-empty-package-meta.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/warnings/correct-package-meta.xsl tests: diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-external-weak-typed-atoms.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-external-weak-typed-atoms.yaml index 3c3660851c..efc18d7180 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-external-weak-typed-atoms.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-external-weak-typed-atoms.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/errors/external-weak-typed-atoms.xsl tests: diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-global-nonames.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-global-nonames.yaml index 3398c2f59d..5933103216 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-global-nonames.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-global-nonames.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/errors/global-nonames.xsl tests: @@ -7,5 +8,5 @@ eo: | 3.14 > pi fake - + a.b > good diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-incorrect-architect.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-incorrect-architect.yaml index 6c2e1866ac..e7a02d19c3 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-incorrect-architect.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-incorrect-architect.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/warnings/incorrect-architect.xsl tests: diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-incorrect-home.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-incorrect-home.yaml index 398889846a..03f7036d6c 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-incorrect-home.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-incorrect-home.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/warnings/incorrect-home.xsl tests: @@ -12,7 +13,7 @@ eo: | +home www.something.com +alias org.eolang.io.stdout +home https://|http/wrong.com - + # This is the default 64+ symbols comment in front of abstract object. [x] > foo x.div in.nextInt > @ diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-incorrect-version.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-incorrect-version.yaml index 0f244840cc..51d96fc22e 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-incorrect-version.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-incorrect-version.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/warnings/incorrect-version.xsl tests: diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-mandatory-home-meta.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-mandatory-home-meta.yaml index 866ab113c4..5856006057 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-mandatory-home-meta.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-mandatory-home-meta.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/warnings/mandatory-home-meta.xsl tests: diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-mandatory-package-meta.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-mandatory-package-meta.yaml index cea077acdc..c882de669b 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-mandatory-package-meta.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-mandatory-package-meta.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/warnings/mandatory-package-meta.xsl tests: diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-mandatory-version-meta.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-mandatory-version-meta.yaml index 2c4f8aaeb5..b790bcd1ad 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-mandatory-version-meta.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-mandatory-version-meta.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/warnings/mandatory-version-meta.xsl tests: diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-many-free-attrs.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-many-free-attrs.yaml index ab23d80e8a..d741435364 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-many-free-attrs.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-many-free-attrs.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/errors/many-free-attributes.xsl tests: diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-metas-unsorted.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-metas-unsorted.yaml index 7706cb3185..8422971cb7 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-metas-unsorted.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-metas-unsorted.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/warnings/unsorted-metas.xsl tests: diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-name-duplicates.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-name-duplicates.yaml index 3d65a6e499..11ac4af963 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-name-duplicates.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-name-duplicates.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/critical-errors/duplicate-names.xsl tests: diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-noname-attrs.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-noname-attrs.yaml index 64184d579f..28a1305101 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-noname-attrs.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-noname-attrs.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/wrap-method-calls.xsl - /org/eolang/parser/errors/noname-attributes.xsl diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-not-one-home-meta.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-not-one-home-meta.yaml index bedc5f4349..25a5a6f011 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-not-one-home-meta.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-not-one-home-meta.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/warnings/mandatory-home-meta.xsl tests: diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-not-one-package-meta.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-not-one-package-meta.yaml index d235a9ec64..24b3e23bf3 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-not-one-package-meta.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-not-one-package-meta.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/warnings/mandatory-package-meta.xsl tests: diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-not-one-version-meta.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-not-one-version-meta.yaml index 735a497e02..4fb37c4516 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-not-one-version-meta.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-not-one-version-meta.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/warnings/mandatory-version-meta.xsl tests: diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-only-name-duplicates.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-only-name-duplicates.yaml index 0ede7ab149..4178f5608f 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-only-name-duplicates.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-only-name-duplicates.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/critical-errors/duplicate-names.xsl - /org/eolang/parser/errors/duplicate-aliases.xsl @@ -17,4 +18,4 @@ eo: | [x] > foo stdout > @ sprintf - "Hello" \ No newline at end of file + "Hello" diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-prohibited-package.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-prohibited-package.yaml index 75c820b893..57ae13aa54 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-prohibited-package.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-prohibited-package.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/warnings/prohibited-package.xsl tests: @@ -7,4 +8,4 @@ eo: | +package org.eolang # This is the default 64+ symbols comment in front of abstract object. - [] > main \ No newline at end of file + [] > main diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-rt-without-atoms.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-rt-without-atoms.yaml index 4cc5cd8735..94b500cbf4 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-rt-without-atoms.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-rt-without-atoms.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/errors/rt-and-atoms.xsl tests: diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-self-naming-with-method-and-this.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-self-naming-with-method-and-this.yaml index 64a1f326cc..6758cd7880 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-self-naming-with-method-and-this.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-self-naming-with-method-and-this.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/errors/self-naming.xsl tests: diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-self-naming-with-method.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-self-naming-with-method.yaml index f1ac3d107b..c045773b13 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-self-naming-with-method.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-self-naming-with-method.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/errors/self-naming.xsl tests: diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-self-naming-with-this.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-self-naming-with-this.yaml index 211e030598..ff09d133d2 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-self-naming-with-this.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-self-naming-with-this.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/errors/self-naming.xsl tests: diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-self-naming.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-self-naming.yaml index d3550f901c..79deae959e 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-self-naming.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-self-naming.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/errors/self-naming.xsl tests: diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-signed-binding-index.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-signed-binding-index.yaml index 7f887841bb..7968d7de2a 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-signed-binding-index.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-signed-binding-index.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/errors/signed-binding-indexes.xsl tests: diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-sparse-decoration.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-sparse-decoration.yaml index 0ea65d8fc6..4d9c8928a9 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-sparse-decoration.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-sparse-decoration.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/warnings/sparse-decoration.xsl tests: @@ -24,7 +25,7 @@ eo: | true 5 five - + # This is the default 64+ symbols comment in front of abstract object. [free] > decorates-with-free-args five > @ diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-unit-test-without-phi.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-unit-test-without-phi.yaml index d1358504ed..8d44a41bdc 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-unit-test-without-phi.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-unit-test-without-phi.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/warnings/unit-test-without-phi.xsl tests: diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-unknown-names.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-unknown-names.yaml index 8df110d707..cfc504d7b3 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-unknown-names.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-unknown-names.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/errors/unknown-names.xsl tests: diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-unused-aliases.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-unused-aliases.yaml index 07c322d8d7..bb33a0faf6 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-unused-aliases.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/catches/catches-unused-aliases.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/expand-aliases.xsl - /org/eolang/parser/resolve-aliases.xsl diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/const-to-dataized.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/const-to-dataized.yaml index 053e50da8c..365cf72754 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/const-to-dataized.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/const-to-dataized.yaml @@ -1,3 +1,4 @@ +--- tests: - //o[@base='.as-bytes' and @line and @pos and @name='x' and o[@base='org.eolang.dataized' and o[@base='org.eolang.int' and not(@name)]]] - //o[@base='.as-bytes' and @line and @pos and @name='m' and o[@base='org.eolang.dataized' and o[@abstract and @name='m-3' and count(o)=2]]] diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/cti/cti-adds-error.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/cti/cti-adds-error.yaml index 20eb43b0cc..6e50586975 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/cti/cti-adds-error.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/cti/cti-adds-error.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/cti/cti-adds-errors.xsl tests: @@ -19,4 +20,4 @@ eo: | QQ.io.stdout > @ QQ.txt.sprintf "The result is %d\n" - foo \ No newline at end of file + foo diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/cti/cti-adds-warning.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/cti/cti-adds-warning.yaml index a5d24bae54..3a0820c4c6 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/cti/cti-adds-warning.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/cti/cti-adds-warning.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/cti/cti-adds-errors.xsl tests: @@ -19,4 +20,4 @@ eo: | QQ.io.stdout > @ QQ.txt.sprintf "The result is %d\n" - foo \ No newline at end of file + foo diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/empty-vs-free.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/empty-vs-free.yaml index 23549572c7..2681a8b17b 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/empty-vs-free.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/empty-vs-free.yaml @@ -1,3 +1,4 @@ +--- tests: - /program/errors[count(*)=0] - //o[@name='foo' and count(o)=2] @@ -7,7 +8,7 @@ eo: | +home https://github.com/objectionary/eo +package test +version 0.0.0 - + # This is the default 64+ symbols comment in front of abstract object. [x] > foo # This is the default 64+ symbols comment in front of abstract object. diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/expand-qqs.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/expand-qqs.yaml index 9be3f32d2d..890de21a3f 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/expand-qqs.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/expand-qqs.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/expand-qqs.xsl tests: @@ -10,7 +11,7 @@ tests: - //metas[count(.//meta[head/text()='alias']/*[text()[starts-with(., 'Q.org.eolang.txt.sprintfQQ')]])=2] eo: | +alias QQ.txt.sprintfQQ - + # This is the default 64+ symbols comment in front of abstract object. [] > app QQ.io.stdout > @ diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/expands-aliases.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/expands-aliases.yaml index c2a64af50c..c254ebeb66 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/expands-aliases.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/expands-aliases.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/expand-aliases.xsl tests: @@ -7,7 +8,7 @@ tests: eo: | +alias org.eolang.txt.scanner +alias stdin org.eolang.io.stdin - + # This is the default 64+ symbols comment in front of abstract object. [args] > main and diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/explicit-data.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/explicit-data.yaml index afe2b3af76..838e264fb3 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/explicit-data.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/explicit-data.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/wrap-method-calls.xsl - /org/eolang/parser/expand-qqs.xsl diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/float-up-same-attrs.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/float-up-same-attrs.yaml index 656c69a852..dbb512d052 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/float-up-same-attrs.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/float-up-same-attrs.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/optimize/remove-refs.xsl - /org/eolang/parser/optimize/abstracts-float-up.xsl diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/float-vars-with-pre-methods.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/float-vars-with-pre-methods.yaml index 7f6323d79b..5bdd745f4f 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/float-vars-with-pre-methods.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/float-vars-with-pre-methods.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/vars-float-up.xsl tests: diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/float-vars.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/float-vars.yaml index c49f919600..894df5394f 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/float-vars.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/float-vars.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/add-refs.xsl - /org/eolang/parser/vars-float-up.xsl @@ -33,7 +34,7 @@ eo: | # This is the default 64+ symbols comment in front of abstract object. [] > last three 1 - + # This is the default 64+ symbols comment in front of abstract object. [ppp] > pp one diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/full-syntax.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/full-syntax.yaml index cb5eb56fa2..eecdacbd76 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/full-syntax.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/full-syntax.yaml @@ -1,4 +1,5 @@ -xsls: [] +--- +xsls: [ ] tests: - /program/errors[count(error)=0] - /program/license[text()!=''] @@ -79,7 +80,7 @@ eo: | @. b oops - + # This is the default 64+ symbols comment in front of abstract object. [] > obj "some" > @ diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/has-comment.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/has-comment.yaml index 5640fdfd89..ab5f1955ee 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/has-comment.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/has-comment.yaml @@ -1,4 +1,5 @@ -xsls: [] +--- +xsls: [ ] tests: - /program/comment()[1] eo: | diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/leap-year.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/leap-year.yaml index bdf1c62053..ef90e7cc5d 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/leap-year.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/leap-year.yaml @@ -1,3 +1,4 @@ +--- tests: - /program/errors[count(*)=0] - /program/objects[count(o)=1] diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/line-numbers.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/line-numbers.yaml index 5d023c4be1..0a43632fa1 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/line-numbers.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/line-numbers.yaml @@ -1,4 +1,5 @@ -xsls: [] +--- +xsls: [ ] tests: - //o[@base='foo' and @line='1' and @pos='0'] - //o[@base='bar' and @line='2' and @pos='2'] diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/onlyphi-bound.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/onlyphi-bound.yaml index f9aeb7ad58..0ac99a5c82 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/onlyphi-bound.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/onlyphi-bound.yaml @@ -1,4 +1,5 @@ -xsls: [] +--- +xsls: [ ] tests: - //o[@base='a']/o[@abstract and not(@name) and o[@name='@' and @base='.b'] and o[not(@base) and @name='i']] - //o[@base='a']/o[@abstract and not(@name) and o[@name='@' and @base='a' and o[@base='b']]] diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/fix-names-with-duplicates.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/fix-names-with-duplicates.yaml index 6efd6d8fe4..2722547a26 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/fix-names-with-duplicates.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/fix-names-with-duplicates.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/optimize/remove-refs.xsl - /org/eolang/parser/optimize/abstracts-float-up.xsl @@ -15,7 +16,7 @@ eo: | plus. > @ f.next s.next - + seq > @ QQ.io.stdout QQ.txt.sprintf diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/fixes-globals.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/fixes-globals.yaml index f52d10bade..1e38045d90 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/fixes-globals.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/fixes-globals.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/optimize/globals-to-abstracts.xsl tests: diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/float-abstracts.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/float-abstracts.yaml index cc390c1ead..41b9fa27a0 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/float-abstracts.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/float-abstracts.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/optimize/remove-refs.xsl - /org/eolang/parser/optimize/abstracts-float-up.xsl diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/float-and-keep-names.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/float-and-keep-names.yaml index 160ccde99e..192f5b8705 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/float-and-keep-names.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/float-and-keep-names.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/optimize/remove-refs.xsl - /org/eolang/parser/optimize/abstracts-float-up.xsl diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/float-nested-anonymous.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/float-nested-anonymous.yaml index 01b304e5c6..91b1b4d884 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/float-nested-anonymous.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/float-nested-anonymous.yaml @@ -1,3 +1,4 @@ +--- defaults: true xsls: - /org/eolang/parser/add-refs.xsl @@ -8,4 +9,4 @@ tests: eo: | foo > a [x] - x > @ \ No newline at end of file + x > @ diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/floating-sets-parent-names.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/floating-sets-parent-names.yaml index 545d40ae9b..168693da12 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/floating-sets-parent-names.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/floating-sets-parent-names.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/add-refs.xsl - /org/eolang/parser/optimize/abstracts-float-up.xsl diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/multi-anonymous.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/multi-anonymous.yaml index c26eeb47e9..e8b906e1b7 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/multi-anonymous.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/multi-anonymous.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/optimize/abstracts-float-up.xsl - /org/eolang/parser/critical-errors/duplicate-names.xsl diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/not-redundant-levels.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/not-redundant-levels.yaml index 549c78e960..90c5b7d6e3 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/not-redundant-levels.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/not-redundant-levels.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/optimize/abstracts-float-up.xsl - /org/eolang/parser/optimize/remove-levels.xsl diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/redundant-levels-with-arguments-and-abstract-parents.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/redundant-levels-with-arguments-and-abstract-parents.yaml index 5b84075879..f3df77213d 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/redundant-levels-with-arguments-and-abstract-parents.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/redundant-levels-with-arguments-and-abstract-parents.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/optimize/abstracts-float-up.xsl - /org/eolang/parser/optimize/remove-levels.xsl @@ -56,4 +57,4 @@ eo: | arg.one > @ # This is the default 64+ symbols comment in front of abstract object. [] > second - arg.two > @ \ No newline at end of file + arg.two > @ diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/redundant-levels-with-arguments-and-siblings.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/redundant-levels-with-arguments-and-siblings.yaml index 720790cd17..3897d28003 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/redundant-levels-with-arguments-and-siblings.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/redundant-levels-with-arguments-and-siblings.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/optimize/abstracts-float-up.xsl - /org/eolang/parser/optimize/remove-levels.xsl @@ -45,4 +46,4 @@ eo: | arg.one > @ # This is the default 64+ symbols comment in front of abstract object. [] > second - arg.two > @ \ No newline at end of file + arg.two > @ diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/redundant-levels-with-arrays.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/redundant-levels-with-arrays.yaml index 9a56155033..a722430df6 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/redundant-levels-with-arrays.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/redundant-levels-with-arrays.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/wrap-method-calls.xsl - /org/eolang/parser/optimize/abstracts-float-up.xsl @@ -44,4 +45,4 @@ eo: | * 0 (* 1 2) > arr eq > @ * ((arr.at 1).at 1) - * 2 \ No newline at end of file + * 2 diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/redundant-levels-with-siblings.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/redundant-levels-with-siblings.yaml index aab7072c31..79b55f232d 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/redundant-levels-with-siblings.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/redundant-levels-with-siblings.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/optimize/abstracts-float-up.xsl - /org/eolang/parser/optimize/remove-levels.xsl @@ -39,4 +40,4 @@ eo: | 1 > @ # This is the default 64+ symbols comment in front of abstract object. [] > second - 2 > @ \ No newline at end of file + 2 > @ diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/redundant-levels.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/redundant-levels.yaml index d442c2c097..f7c7ced0d1 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/redundant-levels.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/redundant-levels.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/optimize/abstracts-float-up.xsl - /org/eolang/parser/optimize/remove-levels.xsl @@ -37,4 +38,4 @@ eo: | 1 > @ # This is the default 64+ symbols comment in front of abstract object. [] > second - 2 > @ \ No newline at end of file + 2 > @ diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/parsed-data.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/parsed-data.yaml index 6200d9cab9..3ca915bced 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/parsed-data.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/parsed-data.yaml @@ -1,3 +1,4 @@ +--- xsls: [ ] tests: - //o[@name='i1' and text()='00 00 00 00 00 00 00 2A'] diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/preserves-spaces.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/preserves-spaces.yaml index 0f29e0934a..ae594ba26e 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/preserves-spaces.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/preserves-spaces.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/errors/not-empty-atoms.xsl tests: diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/priority/additional-brackets.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/priority/additional-brackets.yaml index b7b12d253c..b6c45cf8be 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/priority/additional-brackets.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/priority/additional-brackets.yaml @@ -1,3 +1,4 @@ +--- tests: - /program/errors[count(error)=0] - //o[@base='.plus']/o[@base='.value']/o[contains(@base,'other')] @@ -8,4 +9,4 @@ eo: | # This is the default 64+ symbols comment in front of abstract object. [] > x - 1.times 2 (1.plus other.value) > @ \ No newline at end of file + 1.times 2 (1.plus other.value) > @ diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/priority/space-between.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/priority/space-between.yaml index fdd02ef28d..29a06c031c 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/priority/space-between.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/priority/space-between.yaml @@ -1,3 +1,4 @@ +--- tests: - /program/errors[count(error)=0] - //o[@base='.plus']/o[@base='.a']/o[@base='^'] diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/recursion.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/recursion.yaml index fb60452719..dba989c2ec 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/recursion.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/recursion.yaml @@ -1,3 +1,4 @@ +--- tests: - /program/errors[count(*)=0] - //o[@name='f' and @line='8'] @@ -6,7 +7,7 @@ eo: | +home https://github.com/objectionary/eo +package test +version 0.0.0 - + # This is the default 64+ symbols comment in front of abstract object. [args] > main # This is the default 64+ symbols comment in front of abstract object. diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/resolves-aliases.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/resolves-aliases.yaml index 7e758cfd3e..30bfda6579 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/resolves-aliases.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/resolves-aliases.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/add-refs.xsl - /org/eolang/parser/expand-aliases.xsl diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/scope-before-method.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/scope-before-method.yaml index 465df421e8..bdbbc8b239 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/scope-before-method.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/scope-before-method.yaml @@ -1,4 +1,5 @@ -xsls: [] +--- +xsls: [ ] tests: - //o[@base='foo' and count(o)=1] eo: | @@ -11,4 +12,4 @@ eo: | 42 > @ eq. > @ (foo 1).@ 2 - 42 \ No newline at end of file + 42 diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/scopes-double-scope.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/scopes-double-scope.yaml index 43bbc39766..f8eed06abb 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/scopes-double-scope.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/scopes-double-scope.yaml @@ -1,4 +1,5 @@ -xsls: [] +--- +xsls: [ ] tests: - //o[@base='foo' and count(o)=2] - //o[@base='bar' and count(o)=2] diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/scopes-nested.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/scopes-nested.yaml index c58cd65eeb..3111f9d27b 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/scopes-nested.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/scopes-nested.yaml @@ -1,4 +1,5 @@ -xsls: [] +--- +xsls: [ ] tests: - //o[@base='foo' and count(o)=2] - //o[@base='bar' and count(o)=2] @@ -17,4 +18,4 @@ eo: | 44 > @ eq. > @ foobar (foo (bar 1 2) 3) 4 - 44 \ No newline at end of file + 44 diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/scopes-with-doubled-methods.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/scopes-with-doubled-methods.yaml index ad9818bb1a..d44e8d94a7 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/scopes-with-doubled-methods.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/scopes-with-doubled-methods.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/wrap-method-calls.xsl tests: @@ -7,4 +8,4 @@ eo: | # This is the default 64+ symbols comment in front of abstract object. [] > aliases eq. > @ - (1.bar 2).foo (3.bar 4) \ No newline at end of file + (1.bar 2).foo (3.bar 4) diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/scopes-with-nested-methods.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/scopes-with-nested-methods.yaml index ce67f2195f..ec3876c72c 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/scopes-with-nested-methods.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/scopes-with-nested-methods.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/wrap-method-calls.xsl tests: diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/scopes.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/scopes.yaml index ae2002cfd8..a22eee36ff 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/scopes.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/scopes.yaml @@ -1,7 +1,8 @@ -xsls: [] +--- +xsls: [ ] tests: - //o[@abstract and count(o)=1] eo: | # This is the default 64+ symbols comment in front of abstract object. [] > aliases - a (b (c d)) \ No newline at end of file + a (b (c d)) diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/self-naming-no-catch.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/self-naming-no-catch.yaml index 65f1fa5f51..67d89939ce 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/self-naming-no-catch.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/self-naming-no-catch.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/errors/self-naming.xsl tests: diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/simple.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/simple.yaml index 7a0a877ae7..a6952839ff 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/simple.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/simple.yaml @@ -1,4 +1,5 @@ -xsls: [] +--- +xsls: [ ] tests: - /program/errors[count(*)=0] - /program[@name != ''] @@ -11,7 +12,7 @@ tests: - //o[@base='c4-5' and @line='5'] eo: | +package test - + a b-друг c4-5 diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/anonymous-more.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/anonymous-more.yaml index 09530fd878..b7b48eb7b8 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/anonymous-more.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/anonymous-more.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/wrap-method-calls.xsl diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/anonymous.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/anonymous.yaml index a377d9c7e0..c79ee7f865 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/anonymous.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/anonymous.yaml @@ -1,4 +1,5 @@ -xsls: [] +--- +xsls: [ ] tests: - //objects[count(o)=5] - //o[@base='.plus' and @name='a'] diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/bool-tests-straight.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/bool-tests-straight.yaml index 2d8ccaf5b6..2c4a17619c 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/bool-tests-straight.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/bool-tests-straight.yaml @@ -1,4 +1,5 @@ -xsls: [] +--- +xsls: [ ] tests: - //errors[count(error)=0] eo: | @@ -1391,4 +1392,4 @@ eo: | .org .eolang .bytes:0 - 01- \ No newline at end of file + 01- diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/bound-reversed-application.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/bound-reversed-application.yaml index 177fd2ca32..28d1047bc3 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/bound-reversed-application.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/bound-reversed-application.yaml @@ -1,4 +1,5 @@ -xsls: [] +--- +xsls: [ ] tests: - /program/errors[count(*)=0] - //o[@base='.if' and o[@base='string' and @as='0']] @@ -10,4 +11,4 @@ eo: | true "TRUE":0 "FALSE":1 - if. false 1:a 2:b > second \ No newline at end of file + if. false 1:a 2:b > second diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/escape-sequences.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/escape-sequences.yaml index 951f2d16d8..f0767f5de0 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/escape-sequences.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/escape-sequences.yaml @@ -1,4 +1,5 @@ -xsls: [] +--- +xsls: [ ] tests: - //objects[count(.//o[@base='string'])=7] eo: | @@ -9,4 +10,3 @@ eo: | "\t" "\000" "\uFFFF" - diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/numbers.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/numbers.yaml index 69b515b657..e46fd69bdf 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/numbers.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/numbers.yaml @@ -1,4 +1,5 @@ -xsls: [] +--- +xsls: [ ] tests: - //objects[count(o)=7] eo: | diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/post-method.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/post-method.yaml index f0416ead96..635d13ceaa 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/post-method.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/post-method.yaml @@ -1,4 +1,5 @@ -xsls: [] +--- +xsls: [ ] tests: - //o[@base='one' and @name='test'] - //o[@base='one' and count(o)=1] diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/pre-method.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/pre-method.yaml index 04b69be420..684a8338a4 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/pre-method.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/pre-method.yaml @@ -1,4 +1,5 @@ -xsls: [] +--- +xsls: [ ] tests: - //o[@base='.a' and @name='one' and count(o)=1] - //o[@base='.b' and @name='two' and count(o)=1] diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/redundant-parentheses.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/redundant-parentheses.yaml index 1621c09c45..987f05e8f1 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/redundant-parentheses.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/redundant-parentheses.yaml @@ -1,4 +1,5 @@ -xsls: [] +--- +xsls: [ ] tests: - /program/errors[count(*)=0] eo: | diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/text-block.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/text-block.yaml index 4bd3e51054..f369c6edd1 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/text-block.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/text-block.yaml @@ -1,4 +1,5 @@ -xsls: [] +--- +xsls: [ ] tests: - //o[@base='string' and text()='48 69 2C 20 74 68 65 72 65 0A 41 64 69 C3 B3 73'] - //o[@base='string' and text()='66 69 72 73 74 0A 20 73 65 63 6F 6E 64'] diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/tuples.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/tuples.yaml index 8cea9b0dac..d7da96a6b0 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/tuples.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/tuples.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/stars-to-tuples.xsl - /org/eolang/parser/stars-to-tuples.xsl diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/versions.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/versions.yaml index c6395ed6f6..80f718e9b7 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/versions.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/versions.yaml @@ -1,4 +1,5 @@ -xsls: [] +--- +xsls: [ ] tests: - //o[@base='func0' and @ver='3.4.5' and @name='x'] - //o[@base='func1' and @ver='1.2.3'] diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/vertical-methods-in-application.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/vertical-methods-in-application.yaml index eb88cde946..2f05c589fb 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/vertical-methods-in-application.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/vertical-methods-in-application.yaml @@ -1,4 +1,5 @@ -xsls: [] +--- +xsls: [ ] tests: - /program/errors[count(*)=0] eo: | diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/vmethod-after-formation.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/vmethod-after-formation.yaml index 581896d064..74e92f1b70 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/vmethod-after-formation.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/syntax/vmethod-after-formation.yaml @@ -1,4 +1,5 @@ -xsls: [] +--- +xsls: [ ] tests: - //errors[count(error)=0] - //o[@name='x' and @abstract]/following::o[@base='.first' and @method] @@ -9,4 +10,4 @@ eo: | y > @ [] .second - .first \ No newline at end of file + .first diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/unicode.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/unicode.yaml index a16b273d06..49524a4c8a 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/unicode.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/unicode.yaml @@ -1,4 +1,5 @@ -xsls: [] +--- +xsls: [ ] tests: - /program/errors[count(*)=0] - /program/objects[count(o)=1] diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/wraps-methods.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/wraps-methods.yaml index 941fe367a5..3b479a95df 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/wraps-methods.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/wraps-methods.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/wrap-method-calls.xsl tests: diff --git a/eo-parser/src/test/resources/org/eolang/parser/samples/bytes.yaml b/eo-parser/src/test/resources/org/eolang/parser/samples/bytes.yaml index 7b7830caf3..a6efb9658a 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/samples/bytes.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/samples/bytes.yaml @@ -1,3 +1,4 @@ +--- origin: | EA-EA-EA-EA > xs diff --git a/eo-parser/src/test/resources/org/eolang/parser/samples/dataless.yaml b/eo-parser/src/test/resources/org/eolang/parser/samples/dataless.yaml index 9c167eb11a..5ae39886d2 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/samples/dataless.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/samples/dataless.yaml @@ -1,3 +1,4 @@ +--- origin: | +package sandbox diff --git a/eo-parser/src/test/resources/org/eolang/parser/samples/empty-bytes.yaml b/eo-parser/src/test/resources/org/eolang/parser/samples/empty-bytes.yaml index 2a6decade7..45ebf17c83 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/samples/empty-bytes.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/samples/empty-bytes.yaml @@ -1,3 +1,4 @@ +--- origin: | -- > empty diff --git a/eo-parser/src/test/resources/org/eolang/parser/samples/empty-string.yaml b/eo-parser/src/test/resources/org/eolang/parser/samples/empty-string.yaml index 03e2fba92f..483a456a9a 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/samples/empty-string.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/samples/empty-string.yaml @@ -1,3 +1,4 @@ +--- origin: | # This is the default 64+ symbols comment in front of named abstract object. [] > app diff --git a/eo-parser/src/test/resources/org/eolang/parser/samples/idiomatic.yaml b/eo-parser/src/test/resources/org/eolang/parser/samples/idiomatic.yaml index 8395096196..d9b1d80d40 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/samples/idiomatic.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/samples/idiomatic.yaml @@ -1,3 +1,4 @@ +--- origin: | # This is the license part # of the program diff --git a/eo-parser/src/test/resources/org/eolang/parser/samples/inheritance.yaml b/eo-parser/src/test/resources/org/eolang/parser/samples/inheritance.yaml index e5102a8be6..1219b9065a 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/samples/inheritance.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/samples/inheritance.yaml @@ -1,3 +1,4 @@ +--- origin: | +package sandbox +alias stdout org.eolang.io.stdout diff --git a/eo-parser/src/test/resources/org/eolang/parser/samples/inner-formation.yaml b/eo-parser/src/test/resources/org/eolang/parser/samples/inner-formation.yaml index 2760b5b674..a5e750644b 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/samples/inner-formation.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/samples/inner-formation.yaml @@ -1,3 +1,4 @@ +--- origin: | # This is the default 64+ symbols comment in front of named abstract object. [] > foo diff --git a/eo-parser/src/test/resources/org/eolang/parser/samples/just-float.yaml b/eo-parser/src/test/resources/org/eolang/parser/samples/just-float.yaml index f6171ca491..be30e8b5a4 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/samples/just-float.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/samples/just-float.yaml @@ -1,3 +1,4 @@ +--- origin: | 3.14 > pi # This is the default 64+ symbols comment in front of named abstract object. diff --git a/eo-parser/src/test/resources/org/eolang/parser/samples/multiline-string.yaml b/eo-parser/src/test/resources/org/eolang/parser/samples/multiline-string.yaml index 3018c95b9c..6bb41d5280 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/samples/multiline-string.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/samples/multiline-string.yaml @@ -1,3 +1,4 @@ +--- origin: | # This is the default 64+ symbols comment in front of named abstract object. [] > app diff --git a/eo-parser/src/test/resources/org/eolang/parser/samples/same-name-inners.yaml b/eo-parser/src/test/resources/org/eolang/parser/samples/same-name-inners.yaml index 5326a0c559..25c0fbec69 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/samples/same-name-inners.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/samples/same-name-inners.yaml @@ -1,3 +1,4 @@ +--- origin: | # This is the default 64+ symbols comment in front of named abstract object. [] > compiles-correctly-with-long-duplicate-names diff --git a/eo-parser/src/test/resources/org/eolang/parser/samples/stars-tuples.yaml b/eo-parser/src/test/resources/org/eolang/parser/samples/stars-tuples.yaml index 02c9616a74..bd32637c8d 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/samples/stars-tuples.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/samples/stars-tuples.yaml @@ -1,3 +1,4 @@ +--- origin: | * 1 "Hello" x > array diff --git a/eo-parser/src/test/resources/org/eolang/parser/samples/times.yaml b/eo-parser/src/test/resources/org/eolang/parser/samples/times.yaml index 330a6dbbd0..ea0f54060e 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/samples/times.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/samples/times.yaml @@ -1,3 +1,4 @@ +--- origin: | # This is the default 64+ symbols comment in front of named abstract object. [] > app diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/binding-with-rho.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/binding-with-rho.yaml index 42b501f418..5cd3a63865 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/binding-with-rho.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/binding-with-rho.yaml @@ -1,3 +1,4 @@ +--- line: 2 eo: | x diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/broken-head.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/broken-head.yaml index f86b026236..9cbdb30f28 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/broken-head.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/broken-head.yaml @@ -1,3 +1,4 @@ +--- line: 2 eo: | # This is the default 64+ symbols comment in front of abstract object diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/comment-in-method.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/comment-in-method.yaml index 6572a3878b..d246667caf 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/comment-in-method.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/comment-in-method.yaml @@ -1,3 +1,4 @@ +--- line: 5 eo: | # This is the default 64+ symbols comment in front of abstract object diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/double-empty-lines.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/double-empty-lines.yaml index bf8c8da330..bd5fd49e29 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/double-empty-lines.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/double-empty-lines.yaml @@ -1,8 +1,9 @@ +--- line: 4 eo: | # This is the default 64+ symbols comment in front of abstract object. [args] > one - - + + # This is the default 64+ symbols comment in front of abstract object. [] > two diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/double-root-inside-locator.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/double-root-inside-locator.yaml index 5f6189205f..fddfff0650 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/double-root-inside-locator.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/double-root-inside-locator.yaml @@ -1,3 +1,4 @@ +--- line: 3 eo: | # This is the default 64+ symbols comment in front of abstract object diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/empty-line-before-application.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/empty-line-before-application.yaml index bb8afc7844..5b946f0489 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/empty-line-before-application.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/empty-line-before-application.yaml @@ -1,3 +1,4 @@ +--- line: 6 eo: | # This is the default 64+ symbols comment in front of abstract object diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/empty-line-before-first-object.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/empty-line-before-first-object.yaml index 35feb56a1e..2c953ef46d 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/empty-line-before-first-object.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/empty-line-before-first-object.yaml @@ -1,3 +1,4 @@ +--- line: 3 eo: | # This is the default 64+ symbols comment in front of abstract object diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/empty-line-before-method-2.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/empty-line-before-method-2.yaml index f609350e40..3a815fa2c2 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/empty-line-before-method-2.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/empty-line-before-method-2.yaml @@ -1,10 +1,11 @@ +--- line: 19 eo: | # This is the default 64+ symbols comment in front of abstract object [] > main # This is the default 64+ symbols comment in front of abstract object [] > x - + # This is the default 64+ symbols comment in front of abstract object [] > y @@ -14,8 +15,8 @@ eo: | # This is the default 64+ symbols comment in front of abstract object [] > m x > a - + # This is the default 64+ symbols comment in front of abstract object [] > o - + o > b diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/empty-line-before-method.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/empty-line-before-method.yaml index 644f01b97b..be91c1e255 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/empty-line-before-method.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/empty-line-before-method.yaml @@ -1,3 +1,4 @@ +--- line: 6 eo: | # This is the default 64+ symbols comment in front of abstract object diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/empty-line-before-ref-deep.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/empty-line-before-ref-deep.yaml index 17efff002b..721f78f9ab 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/empty-line-before-ref-deep.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/empty-line-before-ref-deep.yaml @@ -1,3 +1,4 @@ +--- line: 12 eo: | # This is the default 64+ symbols comment in front of abstract object diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/empty-line-before-ref.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/empty-line-before-ref.yaml index 216a41dab1..02ee0fd2dd 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/empty-line-before-ref.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/empty-line-before-ref.yaml @@ -1,3 +1,4 @@ +--- line: 6 eo: | # This is the default 64+ symbols comment in front of abstract object diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/empty-line-between-metas.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/empty-line-between-metas.yaml index cbe147fdf1..dded2730f1 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/empty-line-between-metas.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/empty-line-between-metas.yaml @@ -1,9 +1,10 @@ +--- line: 3 eo: | +meta smth - + +meta other - + [] > main [] > @ hello > test diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/empty-line-in-vertical-application.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/empty-line-in-vertical-application.yaml index e3d1fc4396..9b017ab646 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/empty-line-in-vertical-application.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/empty-line-in-vertical-application.yaml @@ -1,3 +1,4 @@ +--- line: 5 eo: | # This is the default 64+ symbols comment in front of abstract object diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/empty-object.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/empty-object.yaml index 76b0602d4b..a6edacda0a 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/empty-object.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/empty-object.yaml @@ -1,3 +1,4 @@ +--- line: 3 eo: | # This is wrong diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/hmethod-after-vmethod.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/hmethod-after-vmethod.yaml index 7e5c03d58a..9beb07de0e 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/hmethod-after-vmethod.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/hmethod-after-vmethod.yaml @@ -1,4 +1,5 @@ +--- line: 2 eo: | a - .b.c \ No newline at end of file + .b.c diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/invalid-int-literal.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/invalid-int-literal.yaml index e0ca37072e..b04056d061 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/invalid-int-literal.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/invalid-int-literal.yaml @@ -1,3 +1,4 @@ +--- line: 6 eo: | # This is the default 64+ symbols comment in front of abstract object diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/long-character.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/long-character.yaml index de9ddb77fa..6499c59cff 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/long-character.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/long-character.yaml @@ -1,3 +1,4 @@ +--- line: 1 eo: | # This is the default 64+ symbols comment in front of abstract object diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/missing-empty-line-after-metas.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/missing-empty-line-after-metas.yaml index ae60c561f0..6e85556232 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/missing-empty-line-after-metas.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/missing-empty-line-after-metas.yaml @@ -1,3 +1,4 @@ +--- line: 3 eo: | +meta smth diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/not-empty-atoms.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/not-empty-atoms.yaml index e1c1d741ec..d9e3a5c9f2 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/not-empty-atoms.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/not-empty-atoms.yaml @@ -1,3 +1,4 @@ +--- line: 4 eo: | # This is the default 64+ symbols comment in front of abstract object. diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/one-space-indent.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/one-space-indent.yaml index 8474c9a673..88fed99aff 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/one-space-indent.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/one-space-indent.yaml @@ -1,3 +1,4 @@ +--- line: 4 eo: | # This is the default 64+ symbols comment in front of abstract object diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/extra-braces-1.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/extra-braces-1.yaml index 97bbfdeee0..2d6c37d9f3 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/extra-braces-1.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/extra-braces-1.yaml @@ -1,3 +1,4 @@ +--- line: 1 eo: | - (1.add (a.add 5) (4)) > x \ No newline at end of file + (1.add (a.add 5) (4)) > x diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/extra-braces-2.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/extra-braces-2.yaml index b367c2eaeb..5ebeb81d4f 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/extra-braces-2.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/extra-braces-2.yaml @@ -1,3 +1,4 @@ +--- line: 1 eo: | - (1.add (a.add 5) 4) > x \ No newline at end of file + (1.add (a.add 5) 4) > x diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/extra-braces-3.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/extra-braces-3.yaml index 7b4bb80a60..f8c02876d5 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/extra-braces-3.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/extra-braces-3.yaml @@ -1,3 +1,4 @@ +--- line: 1 eo: | - (1.add (a.add 5) 4) \ No newline at end of file + (1.add (a.add 5) 4) diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/extra-braces-4.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/extra-braces-4.yaml index b3a4ba8dcc..8894882451 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/extra-braces-4.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/extra-braces-4.yaml @@ -1,3 +1,4 @@ +--- line: 1 eo: | - (1.add 4) > x \ No newline at end of file + (1.add 4) > x diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/extra-braces-5.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/extra-braces-5.yaml index fa1eee4f82..d5cb194b2d 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/extra-braces-5.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/extra-braces-5.yaml @@ -1,3 +1,4 @@ +--- line: 1 eo: | - (1.add 4) \ No newline at end of file + (1.add 4) diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/extra-braces-6.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/extra-braces-6.yaml index 37f2faa137..56c765e2b7 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/extra-braces-6.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/extra-braces-6.yaml @@ -1,3 +1,4 @@ +--- line: 1 eo: | - ((1.add 1)) > x \ No newline at end of file + ((1.add 1)) > x diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/just-number.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/just-number.yaml index 2ab9f917ef..9cf07beec1 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/just-number.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/just-number.yaml @@ -1,3 +1,4 @@ +--- line: 1 eo: | - 1.add (5) > x \ No newline at end of file + 1.add (5) > x diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/negative-numbers.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/negative-numbers.yaml index 3c4afdd4f8..3678680d9e 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/negative-numbers.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/negative-numbers.yaml @@ -1,3 +1,4 @@ +--- line: 1 eo: | - add (-4) (-5) > x \ No newline at end of file + add (-4) (-5) > x diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/numbers.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/numbers.yaml index 4d0a6bbe95..193aac2901 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/numbers.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/numbers.yaml @@ -1,3 +1,4 @@ +--- line: 2 eo: | add > x diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/simple-application-named.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/simple-application-named.yaml index 6f4fa2cb33..1b99595f19 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/simple-application-named.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/simple-application-named.yaml @@ -1,3 +1,4 @@ +--- line: 3 eo: | 1.add 1 > x diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/simple-application.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/simple-application.yaml index 9178b2fe29..8d75fe7f17 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/simple-application.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parentheses/simple-application.yaml @@ -1,3 +1,4 @@ +--- line: 3 eo: | 1.add 1 > x diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/redundent-parenheses.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/redundent-parenheses.yaml index 74bbab82b9..c9778f0695 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/redundent-parenheses.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/redundent-parenheses.yaml @@ -1,3 +1,4 @@ +--- line: 7 eo: | +home https://github.com/objectionary/eo diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/reversed-as-separate-argument.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/reversed-as-separate-argument.yaml index dd462a684c..1036910ed3 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/reversed-as-separate-argument.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/reversed-as-separate-argument.yaml @@ -1,3 +1,4 @@ +--- line: 3 eo: | # This is the default 64+ symbols comment in front of abstract object diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/root-inside-locator.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/root-inside-locator.yaml index 9bab006bee..2d56669754 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/root-inside-locator.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/root-inside-locator.yaml @@ -1,3 +1,4 @@ +--- line: 3 eo: | # This is the default 64+ symbols comment in front of abstract object diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/scoped-application-after-suffix.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/scoped-application-after-suffix.yaml index b213969881..dae8112057 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/scoped-application-after-suffix.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/scoped-application-after-suffix.yaml @@ -1,5 +1,6 @@ +--- line: 3 eo: | # This is the default 64+ symbols comment in front of abstract object [x] > first - a > x (b > x) \ No newline at end of file + a > x (b > x) diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/space-in-naming.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/space-in-naming.yaml index c9bd229f10..763ff09fa1 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/space-in-naming.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/space-in-naming.yaml @@ -1,3 +1,4 @@ +--- line: 3 eo: | # This is the default 64+ symbols comment in front of abstract object diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/space-in-tail.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/space-in-tail.yaml index 853a8d4a24..c7beecd763 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/space-in-tail.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/space-in-tail.yaml @@ -1,3 +1,4 @@ +--- line: 2 eo: | # This is the default 64+ symbols comment in front of abstract object diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/suffix-with-dots.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/suffix-with-dots.yaml index 720b0ab77f..0c75ec4be7 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/suffix-with-dots.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/suffix-with-dots.yaml @@ -1,3 +1,4 @@ +--- line: 2 eo: | # This is the default 64+ symbols comment in front of abstract object diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/too-far-right-indent.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/too-far-right-indent.yaml index 4fb5b60e26..55e2042a49 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/too-far-right-indent.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/too-far-right-indent.yaml @@ -1,3 +1,4 @@ +--- line: 5 eo: | # This is the default 64+ symbols comment in front of abstract object diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/trailing-space-in-comment.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/trailing-space-in-comment.yaml index b5d19ea4e4..1aed28ac57 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/trailing-space-in-comment.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/trailing-space-in-comment.yaml @@ -1,4 +1,6 @@ +--- line: 4 +# yamllint disable rule:trailing-spaces eo: | # This is the default 64+ symbols comment in front of abstract object. [] > t diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/varargs-inside.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/varargs-inside.yaml index ffc4cc90db..52377d0e33 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/varargs-inside.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/varargs-inside.yaml @@ -1,3 +1,4 @@ +--- line: 1 eo: | [a b... c] > hello diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/version-with-inline-application.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/version-with-inline-application.yaml index ab90787aef..050628bf14 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/version-with-inline-application.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/version-with-inline-application.yaml @@ -1,3 +1,4 @@ +--- line: 3 eo: | # This is the default 64+ symbols comment in front of abstract object diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/vertical-method-in-horizontal-application.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/vertical-method-in-horizontal-application.yaml index ff9a93d5ff..8ddb0655e7 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/vertical-method-in-horizontal-application.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/vertical-method-in-horizontal-application.yaml @@ -1,4 +1,5 @@ +--- line: 1 eo: | x (a - .b x) \ No newline at end of file + .b x) diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/vertical-method-in-scope.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/vertical-method-in-scope.yaml index 7e43774612..23c2c1ba86 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/vertical-method-in-scope.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/vertical-method-in-scope.yaml @@ -1,4 +1,5 @@ +--- line: 1 eo: | (a - .b c).x \ No newline at end of file + .b c).x diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/vmethod-after-happlication.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/vmethod-after-happlication.yaml index 5082580001..8d5fc7bafb 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/vmethod-after-happlication.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/vmethod-after-happlication.yaml @@ -1,4 +1,5 @@ +--- line: 2 eo: | x y - .z \ No newline at end of file + .z diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/vmethod-after-hmethod.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/vmethod-after-hmethod.yaml index 0c6250bad7..617132bd41 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/vmethod-after-hmethod.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/vmethod-after-hmethod.yaml @@ -1,4 +1,5 @@ +--- line: 2 eo: | x.y - .z \ No newline at end of file + .z diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/xi-inside-locator.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/xi-inside-locator.yaml index d449dbb913..0d33aae1aa 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/xi-inside-locator.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/xi-inside-locator.yaml @@ -1,3 +1,4 @@ +--- line: 3 eo: | # This is the default 64+ symbols comment in front of abstract object diff --git a/eo-parser/src/test/resources/org/eolang/parser/xax/add-locs-with-dot.yml b/eo-parser/src/test/resources/org/eolang/parser/xax/add-locs-with-dot.yml index 3d15c202ea..c9eb2daf1d 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/xax/add-locs-with-dot.yml +++ b/eo-parser/src/test/resources/org/eolang/parser/xax/add-locs-with-dot.yml @@ -1,3 +1,4 @@ +--- sheets: - /org/eolang/parser/set-locators.xsl document: diff --git a/eo-parser/src/test/resources/org/eolang/parser/xax/add-locs.yml b/eo-parser/src/test/resources/org/eolang/parser/xax/add-locs.yml index 8a73cdc95d..81b4123e56 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/xax/add-locs.yml +++ b/eo-parser/src/test/resources/org/eolang/parser/xax/add-locs.yml @@ -1,3 +1,4 @@ +--- sheets: - /org/eolang/parser/set-locators.xsl document: diff --git a/eo-parser/src/test/resources/org/eolang/parser/xax/add-refs.yml b/eo-parser/src/test/resources/org/eolang/parser/xax/add-refs.yml index 962e0b050c..5ded5e22b8 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/xax/add-refs.yml +++ b/eo-parser/src/test/resources/org/eolang/parser/xax/add-refs.yml @@ -1,3 +1,4 @@ +--- sheets: - /org/eolang/parser/add-refs.xsl document: diff --git a/eo-parser/src/test/resources/org/eolang/parser/xax/zero-version-correct.yml b/eo-parser/src/test/resources/org/eolang/parser/xax/zero-version-correct.yml index f553c40841..5da56e73a6 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/xax/zero-version-correct.yml +++ b/eo-parser/src/test/resources/org/eolang/parser/xax/zero-version-correct.yml @@ -1,3 +1,4 @@ +--- sheets: - /org/eolang/parser/errors/zero-version.xsl document: diff --git a/eo-parser/src/test/resources/org/eolang/parser/xax/zero-version-incorrect-for-main.yml b/eo-parser/src/test/resources/org/eolang/parser/xax/zero-version-incorrect-for-main.yml index 82b9126d1b..03576f60b1 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/xax/zero-version-incorrect-for-main.yml +++ b/eo-parser/src/test/resources/org/eolang/parser/xax/zero-version-incorrect-for-main.yml @@ -1,3 +1,4 @@ +--- sheets: - /org/eolang/parser/errors/zero-version.xsl document: diff --git a/eo-parser/src/test/resources/org/eolang/parser/xax/zero-version-incorrect-for-test.yml b/eo-parser/src/test/resources/org/eolang/parser/xax/zero-version-incorrect-for-test.yml index bbd8c29c4a..bb50eb814c 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/xax/zero-version-incorrect-for-test.yml +++ b/eo-parser/src/test/resources/org/eolang/parser/xax/zero-version-incorrect-for-test.yml @@ -1,3 +1,4 @@ +--- sheets: - /org/eolang/parser/errors/zero-version.xsl document: diff --git a/eo-parser/src/test/resources/org/eolang/parser/xax/zero-version-no-version.yml b/eo-parser/src/test/resources/org/eolang/parser/xax/zero-version-no-version.yml index 96c57257ea..fe054d5c05 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/xax/zero-version-no-version.yml +++ b/eo-parser/src/test/resources/org/eolang/parser/xax/zero-version-no-version.yml @@ -1,3 +1,4 @@ +--- sheets: - /org/eolang/parser/errors/zero-version.xsl document: diff --git a/eo-parser/src/test/resources/org/eolang/parser/xax/zero-version-not-applicable-source.yml b/eo-parser/src/test/resources/org/eolang/parser/xax/zero-version-not-applicable-source.yml index d44a7a623c..2c55023aec 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/xax/zero-version-not-applicable-source.yml +++ b/eo-parser/src/test/resources/org/eolang/parser/xax/zero-version-not-applicable-source.yml @@ -1,3 +1,4 @@ +--- sheets: - /org/eolang/parser/errors/zero-version.xsl document: