From b879df9acecd3db4646908398fb641c72b123e95 Mon Sep 17 00:00:00 2001 From: Vyacheslav Rybalchenko Date: Sat, 20 Apr 2024 15:59:30 +0300 Subject: [PATCH 1/8] feat(objectionary#3035): add yamllint gh action template --- .github/workflows/yamllint.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/yamllint.yml diff --git a/.github/workflows/yamllint.yml b/.github/workflows/yamllint.yml new file mode 100644 index 0000000000..a6b72168bc --- /dev/null +++ b/.github/workflows/yamllint.yml @@ -0,0 +1,15 @@ +--- +name: yamllint +'on': + push: + branches: + - master + pull_request: + branches: + - master +jobs: + yamllint: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v4 + - uses: ibiqlik/action-yamllint@v3 From a8157fe2165e2b63445e42f8b6f35fd364e977ec Mon Sep 17 00:00:00 2001 From: Vyacheslav Rybalchenko Date: Sun, 21 Apr 2024 15:51:05 +0300 Subject: [PATCH 2/8] feat(objectionary#3035): add .yamllint.yml config --- .github/workflows/yamllint.yml | 3 +++ .yamllint.yml | 12 ++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 .yamllint.yml diff --git a/.github/workflows/yamllint.yml b/.github/workflows/yamllint.yml index a6b72168bc..57579e9bdc 100644 --- a/.github/workflows/yamllint.yml +++ b/.github/workflows/yamllint.yml @@ -1,4 +1,5 @@ --- + name: yamllint 'on': push: @@ -13,3 +14,5 @@ jobs: steps: - uses: actions/checkout@v4 - uses: ibiqlik/action-yamllint@v3 + with: + config-file: .yamllint.yml diff --git a/.yamllint.yml b/.yamllint.yml new file mode 100644 index 0000000000..d8f013f2f8 --- /dev/null +++ b/.yamllint.yml @@ -0,0 +1,12 @@ +--- + +extends: default + +rules: + line-length: disable + brackets: + min-spaces-inside: 1 + max-spaces-inside: 2 + truthy: + level: warning + allowed-values: [ 'on', 'true', 'false', 'yes', 'no' ] From 2f26c87ee63fd95bdf6099cecc327ce15c6dbb2a Mon Sep 17 00:00:00 2001 From: Vyacheslav Rybalchenko Date: Sun, 21 Apr 2024 15:55:06 +0300 Subject: [PATCH 3/8] fix(objectionary#3035): fix .github/workflows yaml linting errors --- .github/workflows/codecov.yml | 2 +- .github/workflows/daily.yml | 3 ++- .github/workflows/ebnf.yml | 4 ++-- .github/workflows/gpt-code-review.yml | 7 ++++--- .github/workflows/loc-badge.yml | 2 +- .github/workflows/mvn.yml | 2 +- .github/workflows/reports-check.yml | 2 +- .github/workflows/simian.yml | 4 ++-- .github/workflows/sonar.yml | 2 +- .github/workflows/up.yml | 4 ++-- .github/workflows/xcop.yml | 2 +- .github/workflows/year.yml | 5 +++-- 12 files changed, 21 insertions(+), 18 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index bf297ca989..5e2277b3be 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -16,7 +16,7 @@ jobs: codecov: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - uses: teatimeguest/setup-texlive-action@v3.2.1 with: update-all-packages: true diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index 447e21a0cf..10fc6e92d5 100644 --- a/.github/workflows/daily.yml +++ b/.github/workflows/daily.yml @@ -1,3 +1,4 @@ +--- name: daily on: schedule: @@ -7,7 +8,7 @@ jobs: build: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - uses: teatimeguest/setup-texlive-action@v3.2.1 with: update-all-packages: true diff --git a/.github/workflows/ebnf.yml b/.github/workflows/ebnf.yml index f25b0cc0d4..49b78baf8e 100644 --- a/.github/workflows/ebnf.yml +++ b/.github/workflows/ebnf.yml @@ -2,7 +2,7 @@ name: ebnf on: push: - paths-ignore: ['paper/**', 'sandbox/**'] + paths-ignore: [ 'paper/**', 'sandbox/**' ] pull_request: branches: - master @@ -13,7 +13,7 @@ jobs: env: CONVERT_PATH: /tmp/antlr4-to-bnf-converter steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - run: | sudo apt-get update sudo apt-get -y install ghostscript imagemagick texlive-extra-utils pdf2svg inkscape diff --git a/.github/workflows/gpt-code-review.yml b/.github/workflows/gpt-code-review.yml index 2ead3da1db..114d285801 100644 --- a/.github/workflows/gpt-code-review.yml +++ b/.github/workflows/gpt-code-review.yml @@ -1,7 +1,8 @@ +--- name: GPT-code-review on: pull_request: - branches: [master] + branches: [ master ] permissions: pull-requests: write contents: read @@ -9,7 +10,7 @@ jobs: build: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 with: fetch-depth: 0 - uses: actions/setup-node@v4 @@ -23,4 +24,4 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} BASE_SHA: ${{ github.event.pull_request.base.sha }} GITHUB_SHA: ${{ github.sha }} - OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} \ No newline at end of file + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} diff --git a/.github/workflows/loc-badge.yml b/.github/workflows/loc-badge.yml index d6ef9d0e8e..cc6d8c594e 100644 --- a/.github/workflows/loc-badge.yml +++ b/.github/workflows/loc-badge.yml @@ -11,7 +11,7 @@ jobs: loc-badge: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - uses: shadowmoose/GHA-LoC-Badge@1.0.0 with: debug: true diff --git a/.github/workflows/mvn.yml b/.github/workflows/mvn.yml index 5c23dea5a3..bb32eafd8d 100644 --- a/.github/workflows/mvn.yml +++ b/.github/workflows/mvn.yml @@ -23,7 +23,7 @@ jobs: env: CONVERT_PATH: /tmp/antlr4-to-bnf-converter steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - uses: actions/setup-java@v4 with: distribution: 'temurin' diff --git a/.github/workflows/reports-check.yml b/.github/workflows/reports-check.yml index 6f84511389..f092f9f174 100644 --- a/.github/workflows/reports-check.yml +++ b/.github/workflows/reports-check.yml @@ -2,7 +2,7 @@ name: reports-check on: issues: - types: [opened] + types: [ opened ] permissions: issues: write contents: read diff --git a/.github/workflows/simian.yml b/.github/workflows/simian.yml index 0e5cf9c50d..e61ecede46 100644 --- a/.github/workflows/simian.yml +++ b/.github/workflows/simian.yml @@ -4,7 +4,7 @@ on: push: branches: - master - paths-ignore: ['paper/**', 'sandbox/**'] + paths-ignore: [ 'paper/**', 'sandbox/**' ] pull_request: branches: - master @@ -16,7 +16,7 @@ jobs: simian: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - uses: actions/setup-java@v4 with: distribution: 'temurin' diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index 0f580499ca..77d46ab33e 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -11,7 +11,7 @@ jobs: sonar: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 with: fetch-depth: 0 - uses: teatimeguest/setup-texlive-action@v3.2.1 diff --git a/.github/workflows/up.yml b/.github/workflows/up.yml index 32c20b6b83..f45d7d0cb3 100644 --- a/.github/workflows/up.yml +++ b/.github/workflows/up.yml @@ -13,7 +13,7 @@ jobs: up: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - run: |- git fetch --tags --force && \ latest=$(git tag --sort=creatordate | tail -1) && \ @@ -25,4 +25,4 @@ jobs: delete-branch: true title: 'New version in README' assignees: yegor256 - base: master \ No newline at end of file + base: master diff --git a/.github/workflows/xcop.yml b/.github/workflows/xcop.yml index bfa91b787d..e7b15ceaa5 100644 --- a/.github/workflows/xcop.yml +++ b/.github/workflows/xcop.yml @@ -14,7 +14,7 @@ jobs: xcop: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - uses: g4s8/xcop-action@v1.3 with: files: | diff --git a/.github/workflows/year.yml b/.github/workflows/year.yml index 4fab297a17..90c4458df9 100644 --- a/.github/workflows/year.yml +++ b/.github/workflows/year.yml @@ -1,7 +1,8 @@ +--- name: year on: schedule: - - cron: '0 1 22 * *' # Runs at 01:00 UTC on the 22nd of every month + - cron: '0 1 22 * *' # Runs at 01:00 UTC on the 22nd of every month concurrency: group: year-${{ github.ref }} cancel-in-progress: true @@ -9,7 +10,7 @@ jobs: license: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 with: fetch-depth: 0 - uses: FantasticFiasco/action-update-license-year@v3 From 03d59a7608b9dde2197d415e0723f8008a789634 Mon Sep 17 00:00:00 2001 From: Vyacheslav Rybalchenko Date: Sun, 21 Apr 2024 16:07:03 +0300 Subject: [PATCH 4/8] fix(objectionary#3035): fix ./eo-maven-plugin yaml linting errors and warnings --- .../eolang/maven/binarize/add_rust/add-dependencies.yaml | 3 ++- .../org/eolang/maven/packs/pre/as-type-optimization.yaml | 1 + .../org/eolang/maven/packs/pre/bindings-to-java.yaml | 1 + .../packs/pre/converts-to-java-with-arrays-and-scopes.yaml | 5 +++-- .../org/eolang/maven/packs/pre/data-as-bytes.yaml | 1 + .../resources/org/eolang/maven/packs/pre/dot-home.yaml | 3 ++- .../org/eolang/maven/packs/pre/embedded-class.yaml | 1 + .../org/eolang/maven/packs/pre/locators-to-java.yaml | 1 + .../org/eolang/maven/packs/pre/long-class-name.yaml | 1 + .../resources/org/eolang/maven/packs/pre/set-package.yaml | 3 ++- .../maven/packs/pre/synthetic-attributes-with-to-java.yaml | 5 +++-- .../org/eolang/maven/packs/pre/test-object-to-java.yaml | 1 + .../org/eolang/maven/packs/pre/tests-moving-inside.yaml | 3 ++- .../resources/org/eolang/maven/packs/pre/tests-test.yaml | 3 ++- .../org/eolang/maven/packs/pre/tuple-to-java.yaml | 1 + .../org/eolang/maven/packs/pre/underscore-to-java.yaml | 1 + .../test/resources/org/eolang/maven/phi/yaml/as-phi.yaml | 3 ++- .../test/resources/org/eolang/maven/phi/yaml/atoms.yaml | 3 ++- .../test/resources/org/eolang/maven/phi/yaml/bindings.yaml | 3 ++- .../resources/org/eolang/maven/phi/yaml/bool-tests.yaml | 3 ++- .../test/resources/org/eolang/maven/phi/yaml/bytes.yaml | 7 ++++--- .../resources/org/eolang/maven/phi/yaml/custom-alias.yaml | 5 +++-- .../resources/org/eolang/maven/phi/yaml/empty-bytes.yaml | 3 ++- .../test/resources/org/eolang/maven/phi/yaml/empty.yaml | 3 ++- .../test/resources/org/eolang/maven/phi/yaml/fibonaci.yaml | 3 ++- .../resources/org/eolang/maven/phi/yaml/full-path.yaml | 3 ++- .../org/eolang/maven/phi/yaml/iterates-over-counter.yaml | 3 ++- .../test/resources/org/eolang/maven/phi/yaml/jeo-part.yaml | 3 ++- .../test/resources/org/eolang/maven/phi/yaml/method.yaml | 3 ++- .../test/resources/org/eolang/maven/phi/yaml/nested.yaml | 3 ++- .../test/resources/org/eolang/maven/phi/yaml/one-byte.yaml | 3 ++- .../test/resources/org/eolang/maven/phi/yaml/package.yaml | 5 +++-- .../org/eolang/maven/phi/yaml/same-name-inner.yaml | 3 ++- .../test/resources/org/eolang/maven/phi/yaml/specials.yaml | 3 ++- .../org/eolang/maven/phi/yaml/with-anonym-abstract.yaml | 3 ++- .../resources/org/eolang/maven/phi/yaml/with-data.yaml | 3 ++- .../org/eolang/maven/phi/yaml/with-free-attributes.yaml | 3 ++- .../src/test/resources/org/eolang/maven/pre/pre-data.yaml | 1 + .../resources/org/eolang/maven/print/samples/bytes.yaml | 3 ++- .../eolang/maven/print/samples/compares-bool-to-bytes.yaml | 1 + .../resources/org/eolang/maven/print/samples/dataless.yaml | 1 + .../org/eolang/maven/print/samples/empty-bytes.yaml | 1 + .../org/eolang/maven/print/samples/empty-string.yaml | 1 + .../org/eolang/maven/print/samples/idiomatic.yaml | 1 + .../org/eolang/maven/print/samples/inheritance.yaml | 1 + .../org/eolang/maven/print/samples/just-float.yaml | 1 + .../org/eolang/maven/print/samples/multiline-string.yaml | 1 + .../org/eolang/maven/print/samples/stars-tuples.yaml | 1 + .../resources/org/eolang/maven/print/samples/times.yaml | 1 + .../org/eolang/maven/sodg-packs/add-loc-to-objects.yaml | 1 + .../resources/org/eolang/maven/sodg-packs/append-xi.yaml | 1 + .../org/eolang/maven/sodg-packs/bind-rho-and-sigma.yaml | 1 + .../org/eolang/maven/sodg-packs/bind-rho-to-abstract.yaml | 1 + .../org/eolang/maven/sodg-packs/connect-dots-to-copy.yaml | 1 + .../org/eolang/maven/sodg-packs/connect-dots.yaml | 1 + .../resources/org/eolang/maven/sodg-packs/epsilons.yaml | 1 + .../test/resources/org/eolang/maven/sodg-packs/focus.yaml | 1 + .../org/eolang/maven/sodg-packs/normalize-attrs.yaml | 1 + .../org/eolang/maven/sodg-packs/normalize-names.yaml | 1 + .../resources/org/eolang/maven/sodg-packs/pi-copies.yaml | 1 + .../resources/org/eolang/maven/sodg-packs/put-atoms.yaml | 1 + .../resources/org/eolang/maven/sodg-packs/put-data.yaml | 1 + .../resources/org/eolang/maven/sodg-packs/to-text.yaml | 1 + .../resources/org/eolang/maven/sodg-packs/touch-all.yaml | 1 + .../resources/org/eolang/maven/sodg-packs/unroll-refs.yaml | 1 + .../org/eolang/maven/sodg-packs/unroll-with-args.yaml | 1 + .../test/resources/org/eolang/maven/sodgs/abstracts.yaml | 1 + .../src/test/resources/org/eolang/maven/sodgs/arrays.yaml | 2 +- .../src/test/resources/org/eolang/maven/sodgs/atoms.yaml | 3 ++- .../resources/org/eolang/maven/sodgs/copy-of-abstract.yaml | 1 + .../resources/org/eolang/maven/sodgs/copy-of-argument.yaml | 2 +- .../src/test/resources/org/eolang/maven/sodgs/data.yaml | 1 + .../test/resources/org/eolang/maven/sodgs/dot-on-ref.yaml | 3 ++- .../src/test/resources/org/eolang/maven/sodgs/dots.yaml | 1 + .../test/resources/org/eolang/maven/sodgs/inclusions.yaml | 1 + .../src/test/resources/org/eolang/maven/sodgs/metas.yaml | 3 ++- .../resources/org/eolang/maven/sodgs/nested-anonymous.yaml | 1 + .../src/test/resources/org/eolang/maven/sodgs/refs.yaml | 1 + .../src/test/resources/org/eolang/maven/sodgs/rho.yaml | 3 ++- .../src/test/resources/org/eolang/maven/sodgs/simple.yaml | 3 ++- .../src/test/resources/org/eolang/maven/sodgs/vars.yaml | 3 ++- .../src/test/resources/org/eolang/maven/unphi/atoms.yaml | 3 ++- .../test/resources/org/eolang/maven/unphi/bindings.yaml | 3 ++- .../test/resources/org/eolang/maven/unphi/bool-tests.yaml | 3 ++- .../test/resources/org/eolang/maven/unphi/empty-bytes.yaml | 3 ++- .../resources/org/eolang/maven/unphi/long-names-inner.yaml | 3 ++- .../test/resources/org/eolang/maven/unphi/new-lines.yaml | 3 ++- .../test/resources/org/eolang/maven/unphi/normalized.yaml | 3 ++- .../test/resources/org/eolang/maven/unphi/one-byte.yaml | 3 ++- .../src/test/resources/org/eolang/maven/unphi/package.yaml | 3 ++- .../src/test/resources/org/eolang/maven/unphi/spaces.yaml | 3 ++- .../test/resources/org/eolang/maven/unphi/specials.yaml | 3 ++- .../org/eolang/maven/unphi/with-anonym-abstract.yaml | 3 ++- .../test/resources/org/eolang/maven/unphi/with-data.yaml | 1 + .../test/resources/org/eolang/maven/unphi/with-home.yaml | 5 +++-- 95 files changed, 150 insertions(+), 57 deletions(-) diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/binarize/add_rust/add-dependencies.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/binarize/add_rust/add-dependencies.yaml index 5bfc897794..2607dcf1a6 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/binarize/add_rust/add-dependencies.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/binarize/add_rust/add-dependencies.yaml @@ -1,3 +1,4 @@ +--- sheets: - /org/eolang/maven/add_rust/add_rust.xsl document: @@ -55,4 +56,4 @@ document: asserts: - /program/rusts/rust[@code_loc='Φ.org.eolang.creates-object.r.α0'] - /program/rusts/rust/dependencies/dependency[@name='72 65 6F 3A 20 30 2E 30 2E 32'] - - /program/rusts/rust/dependencies/dependency[@name='72 61 6E 64 3A 20 30 2E 35 2E 35'] \ No newline at end of file + - /program/rusts/rust/dependencies/dependency[@name='72 61 6E 64 3A 20 30 2E 35 2E 35'] diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/as-type-optimization.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/as-type-optimization.yaml index 2a43883bea..644b7831e9 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/as-type-optimization.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/as-type-optimization.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/wrap-method-calls.xsl - /org/eolang/parser/optimize/globals-to-abstracts.xsl diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/bindings-to-java.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/bindings-to-java.yaml index 73dcaaa9b4..6c446760d0 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/bindings-to-java.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/bindings-to-java.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/add-default-package.xsl - /org/eolang/maven/pre/classes.xsl diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/converts-to-java-with-arrays-and-scopes.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/converts-to-java-with-arrays-and-scopes.yaml index 24a5c45efb..28b1fa7709 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/converts-to-java-with-arrays-and-scopes.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/converts-to-java-with-arrays-and-scopes.yaml @@ -2,6 +2,7 @@ # The aim of this test is to check that entire pipeline with # scoped objects works as expected without creating any warnings or errors. # Pay attention and to-java.xsl transformations. +--- xsls: - /org/eolang/parser/errors/not-empty-atoms.xsl - /org/eolang/parser/critical-errors/duplicate-names.xsl @@ -58,10 +59,10 @@ eo: | +tests +package org.eolang +version 0.0.0 - + # This is the default 64+ symbols comment in front of named abstract object. [] > main * 0 (* 1 2) > arr eq > @ * ((arr.at 1).at 1) - * 2 \ No newline at end of file + * 2 diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/data-as-bytes.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/data-as-bytes.yaml index ebbb112cf2..c82b0023f4 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/data-as-bytes.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/data-as-bytes.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/add-default-package.xsl - /org/eolang/parser/explicit-data.xsl diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/dot-home.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/dot-home.yaml index 4b52b341d6..63b686ed4f 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/dot-home.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/dot-home.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/add-default-package.xsl - /org/eolang/maven/pre/classes.xsl @@ -13,7 +14,7 @@ eo: | [] > foo 5 > five a > @ - + # This is the default 64+ symbols comment in front of named abstract object. [] > a # This is the default 64+ symbols comment in front of named abstract object. diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/embedded-class.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/embedded-class.yaml index e913917635..6fcb8f1040 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/embedded-class.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/embedded-class.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/wrap-method-calls.xsl - /org/eolang/parser/optimize/globals-to-abstracts.xsl diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/locators-to-java.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/locators-to-java.yaml index 6e0f946bf7..947cbe7fb7 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/locators-to-java.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/locators-to-java.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/add-default-package.xsl - /org/eolang/parser/wrap-method-calls.xsl diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/long-class-name.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/long-class-name.yaml index c47e20812e..525cadd11f 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/long-class-name.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/long-class-name.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/add-default-package.xsl - /org/eolang/parser/optimize/abstracts-float-up.xsl diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/set-package.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/set-package.yaml index e99d1c5318..d43fde23ec 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/set-package.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/set-package.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/maven/pre/classes.xsl - /org/eolang/maven/pre/package.xsl @@ -6,7 +7,7 @@ tests: - //class[@name='bar' and @package='foo.long-name'] eo: | +package foo.long-name - + # This is the default 64+ symbols comment in front of named abstract object. [] > bar "hello" diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/synthetic-attributes-with-to-java.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/synthetic-attributes-with-to-java.yaml index 986f113dac..652db1cb40 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/synthetic-attributes-with-to-java.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/synthetic-attributes-with-to-java.yaml @@ -2,6 +2,7 @@ # The aim of this test is to check that entire pipeline with # scoped objects works as expected without creating any warnings or errors. # Pay attention to to-java.xsl transformations. +--- xsls: - /org/eolang/parser/errors/not-empty-atoms.xsl - /org/eolang/parser/critical-errors/duplicate-names.xsl @@ -58,10 +59,10 @@ eo: | +tests +package org.eolang +version 0.0.0 - + # This is the default 64+ symbols comment in front of named abstract object. [] > method * 1 (* "one" "two") 3 > res eq > @ * res.length ((res.at 1).at 1) - * 3 "two" \ No newline at end of file + * 3 "two" diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/test-object-to-java.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/test-object-to-java.yaml index f395c35332..fd50e4f8fe 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/test-object-to-java.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/test-object-to-java.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/add-default-package.xsl - /org/eolang/maven/pre/classes.xsl diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/tests-moving-inside.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/tests-moving-inside.yaml index 7c11e7263d..1ac553f6ee 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/tests-moving-inside.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/tests-moving-inside.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/optimize/abstracts-float-up.xsl - /org/eolang/maven/pre/classes.xsl @@ -12,7 +13,7 @@ tests: - //o[@base='ω2c' and @name='c'] eo: | +tests - + # This is the default 64+ symbols comment in front of named abstract object. [] > a # This is the default 64+ symbols comment in front of named abstract object. diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/tests-test.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/tests-test.yaml index bac6f9b957..f2f6a21983 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/tests-test.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/tests-test.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/wrap-method-calls.xsl - /org/eolang/parser/optimize/globals-to-abstracts.xsl @@ -17,7 +18,7 @@ tests: - //java[contains(text(), '@Test')] eo: | +tests - + # This is the default 64+ symbols comment in front of named abstract object. [] > works 1.eq 1 > @ diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/tuple-to-java.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/tuple-to-java.yaml index 81b52b01e5..2afa201c75 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/tuple-to-java.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/tuple-to-java.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/stars-to-tuples.xsl - /org/eolang/parser/stars-to-tuples.xsl diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/underscore-to-java.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/underscore-to-java.yaml index 74adcd8715..bfb18474ec 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/underscore-to-java.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/packs/pre/underscore-to-java.yaml @@ -1,3 +1,4 @@ +--- xsls: - /org/eolang/parser/add-default-package.xsl - /org/eolang/maven/pre/classes.xsl diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/as-phi.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/as-phi.yaml index 7ee20bf7e7..9a8ce4191f 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/as-phi.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/as-phi.yaml @@ -1,3 +1,4 @@ +--- eo: | # This is the default 64+ symbols comment in front of named abstract object. [] > prints-itself @@ -23,4 +24,4 @@ phi: | ) ⟧ ⟧ - } \ No newline at end of file + } diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/atoms.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/atoms.yaml index 3715fc007d..e0bca74772 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/atoms.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/atoms.yaml @@ -1,3 +1,4 @@ +--- eo: | # This is the default 64+ symbols comment in front of named abstract object. [] > main /int @@ -17,4 +18,4 @@ phi: | ⟧ ⟧ ⟧ - } \ No newline at end of file + } diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/bindings.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/bindings.yaml index 15305e02b2..adc7d5ac1e 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/bindings.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/bindings.yaml @@ -1,3 +1,4 @@ +--- eo: | x > xyz y:attr @@ -20,4 +21,4 @@ phi: | ) ) ⟧ - } \ No newline at end of file + } diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/bool-tests.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/bool-tests.yaml index e10acece1a..14201536a2 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/bool-tests.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/bool-tests.yaml @@ -1,3 +1,4 @@ +--- eo: | # The MIT License (MIT) # @@ -132,4 +133,4 @@ phi: | λ ⤍ Package ⟧ ⟧ - } \ No newline at end of file + } diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/bytes.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/bytes.yaml index b4e39bac32..2e9f3a7af3 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/bytes.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/bytes.yaml @@ -1,10 +1,11 @@ +--- eo: | +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang +rt jvm org.eolang:eo-runtime:0.0.0 - +version 0.0.0 - + +version 0.0.0 + # This is the default 64+ symbols comment in front of named abstract object. [] > bytes # This is the default 64+ symbols comment in front of named abstract object. @@ -133,4 +134,4 @@ phi: | λ ⤍ Package ⟧ ⟧ - } \ No newline at end of file + } diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/custom-alias.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/custom-alias.yaml index 0de33611c9..a6400947e5 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/custom-alias.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/custom-alias.yaml @@ -1,7 +1,8 @@ +--- eo: | +package foo.bar +alias com.yegor256.x - + # This is the default 64+ symbols comment in front of named abstract object. [y] > main x y > z @@ -21,4 +22,4 @@ phi: | λ ⤍ Package ⟧ ⟧ - } \ No newline at end of file + } diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/empty-bytes.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/empty-bytes.yaml index cd3b21eb2f..5380397b6e 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/empty-bytes.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/empty-bytes.yaml @@ -1,3 +1,4 @@ +--- eo: -- > empty phi: | { @@ -6,4 +7,4 @@ phi: | Δ ⤍ -- ) ⟧ - } \ No newline at end of file + } diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/empty.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/empty.yaml index 2345377fc0..73f847d78d 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/empty.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/empty.yaml @@ -1,3 +1,4 @@ +--- eo: | # This is the default 64+ symbols comment in front of named abstract object. [z] > main @@ -13,4 +14,4 @@ phi: | y ↦ Φ.org.eolang.seq ⟧ ⟧ - } \ No newline at end of file + } diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/fibonaci.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/fibonaci.yaml index 6532f578c8..63789d133f 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/fibonaci.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/fibonaci.yaml @@ -1,3 +1,4 @@ +--- eo: | +package eo.example @@ -54,4 +55,4 @@ phi: | λ ⤍ Package ⟧ ⟧ - } \ No newline at end of file + } diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/full-path.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/full-path.yaml index 2503a1a41f..a88562b7c0 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/full-path.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/full-path.yaml @@ -1,3 +1,4 @@ +--- eo: | QQ.io.stdout > std Q.org.eolang.x > y @@ -7,4 +8,4 @@ phi: | std ↦ Φ.org.eolang.io.stdout, y ↦ Φ.org.eolang.x ⟧ - } \ No newline at end of file + } diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/iterates-over-counter.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/iterates-over-counter.yaml index 874c3c559e..5ae7fcc1b0 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/iterates-over-counter.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/iterates-over-counter.yaml @@ -1,3 +1,4 @@ +--- eo: | # This is the default 64+ symbols comment in front of named abstract object. [] > iterates-over-simple-counter @@ -66,4 +67,4 @@ phi: | ) ⟧ ⟧ - } \ No newline at end of file + } diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/jeo-part.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/jeo-part.yaml index 77609e21e3..8923afa2e7 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/jeo-part.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/jeo-part.yaml @@ -1,3 +1,4 @@ +--- eo: | +package org.eolang.benchmark @@ -40,4 +41,4 @@ phi: | λ ⤍ Package ⟧ ⟧ - } \ No newline at end of file + } diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/method.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/method.yaml index 9936a77e65..d29a488a4b 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/method.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/method.yaml @@ -1,7 +1,8 @@ +--- eo: x.y.z > xyz phi: | { ⟦ xyz ↦ Φ.org.eolang.x.y.z ⟧ - } \ No newline at end of file + } diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/nested.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/nested.yaml index 1b9b58899c..f71644df42 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/nested.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/nested.yaml @@ -1,3 +1,4 @@ +--- eo: | # This is the default 64+ symbols comment in front of named abstract object. [a] > main @@ -34,4 +35,4 @@ phi: | ⟧ ⟧ ⟧ - } \ No newline at end of file + } diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/one-byte.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/one-byte.yaml index 03dd38c26b..82bb0be926 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/one-byte.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/one-byte.yaml @@ -1,3 +1,4 @@ +--- eo: A2- > bts phi: | { @@ -6,4 +7,4 @@ phi: | Δ ⤍ A2- ) ⟧ - } \ No newline at end of file + } diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/package.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/package.yaml index bd86ec76fa..b3a5e8a788 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/package.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/package.yaml @@ -1,6 +1,7 @@ +--- eo: | +package foo.bar.baz - + # This is the default 64+ symbols comment in front of named abstract object. [] > main stdout > @ @@ -20,4 +21,4 @@ phi: | λ ⤍ Package ⟧ ⟧ - } \ No newline at end of file + } diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/same-name-inner.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/same-name-inner.yaml index a4d7699bc3..c0d21eae84 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/same-name-inner.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/same-name-inner.yaml @@ -1,3 +1,4 @@ +--- eo: | # Test. [] > compiles-correctly-with-long-duplicate-names @@ -28,4 +29,4 @@ phi: | φ ↦ Φ.org.eolang.true ⟧ ⟧ - } \ No newline at end of file + } diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/specials.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/specials.yaml index c44f6a0c82..f4d5a28b36 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/specials.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/specials.yaml @@ -1,3 +1,4 @@ +--- eo: | # This is the default 64+ symbols comment in front of named abstract object. [] > main @@ -15,4 +16,4 @@ phi: | phi ↦ ξ.φ.φ ⟧ ⟧ - } \ No newline at end of file + } diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/with-anonym-abstract.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/with-anonym-abstract.yaml index 808265da0e..2136a24232 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/with-anonym-abstract.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/with-anonym-abstract.yaml @@ -1,3 +1,4 @@ +--- eo: | # This is the default 64+ symbols comment in front of abstract object. [] > test @@ -14,4 +15,4 @@ phi: | ) ⟧ ⟧ - } \ No newline at end of file + } diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/with-data.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/with-data.yaml index 3d78f64aa0..0b68a8c5ed 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/with-data.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/with-data.yaml @@ -1,3 +1,4 @@ +--- eo: 5 > five phi: | { @@ -8,4 +9,4 @@ phi: | ) ) ⟧ - } \ No newline at end of file + } diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/with-free-attributes.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/with-free-attributes.yaml index 1dbe72e12b..fffd4d16d5 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/with-free-attributes.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/with-free-attributes.yaml @@ -1,3 +1,4 @@ +--- eo: | # This is the default 64+ symbols comment in front of named abstract object. [a b] > c @@ -11,4 +12,4 @@ phi: | φ ↦ Φ.org.eolang.d ⟧ ⟧ - } \ No newline at end of file + } diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/pre/pre-data.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/pre/pre-data.yaml index 42179431de..030e561779 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/pre/pre-data.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/pre/pre-data.yaml @@ -1,3 +1,4 @@ +--- sheets: - /org/eolang/maven/pre/data.xsl document: diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/bytes.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/bytes.yaml index d436798dfb..2de1281b2c 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/bytes.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/bytes.yaml @@ -1,6 +1,7 @@ +--- origin: | EA-EA-EA-EA > xs - + 01- > one "hello" > ys diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/compares-bool-to-bytes.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/compares-bool-to-bytes.yaml index a2bbf266bc..ebab3e9edd 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/compares-bool-to-bytes.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/compares-bool-to-bytes.yaml @@ -1,3 +1,4 @@ +--- origin: | # Test. [] > compares-bool-to-bytes diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/dataless.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/dataless.yaml index 9c167eb11a..5ae39886d2 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/dataless.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/dataless.yaml @@ -1,3 +1,4 @@ +--- origin: | +package sandbox diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/empty-bytes.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/empty-bytes.yaml index 2a6decade7..45ebf17c83 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/empty-bytes.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/empty-bytes.yaml @@ -1,3 +1,4 @@ +--- origin: | -- > empty diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/empty-string.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/empty-string.yaml index 03e2fba92f..483a456a9a 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/empty-string.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/print/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-maven-plugin/src/test/resources/org/eolang/maven/print/samples/idiomatic.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/idiomatic.yaml index 8395096196..d9b1d80d40 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/idiomatic.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/idiomatic.yaml @@ -1,3 +1,4 @@ +--- origin: | # This is the license part # of the program diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/inheritance.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/inheritance.yaml index e5102a8be6..1219b9065a 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/inheritance.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/inheritance.yaml @@ -1,3 +1,4 @@ +--- origin: | +package sandbox +alias stdout org.eolang.io.stdout diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/just-float.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/just-float.yaml index f6171ca491..be30e8b5a4 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/just-float.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/print/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-maven-plugin/src/test/resources/org/eolang/maven/print/samples/multiline-string.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/multiline-string.yaml index 3018c95b9c..6bb41d5280 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/multiline-string.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/print/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-maven-plugin/src/test/resources/org/eolang/maven/print/samples/stars-tuples.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/stars-tuples.yaml index 02c9616a74..bd32637c8d 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/stars-tuples.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/stars-tuples.yaml @@ -1,3 +1,4 @@ +--- origin: | * 1 "Hello" x > array diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/times.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/times.yaml index 330a6dbbd0..ea0f54060e 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/print/samples/times.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/print/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-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/add-loc-to-objects.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/add-loc-to-objects.yaml index 7c8a6983ea..881f838a84 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/add-loc-to-objects.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/add-loc-to-objects.yaml @@ -1,3 +1,4 @@ +--- sheets: - /org/eolang/maven/sodg/add-loc-to-objects.xsl document: diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/append-xi.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/append-xi.yaml index dd5be586b9..0386805d84 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/append-xi.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/append-xi.yaml @@ -1,3 +1,4 @@ +--- sheets: - /org/eolang/maven/sodg/append-xi.xsl document: diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/bind-rho-and-sigma.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/bind-rho-and-sigma.yaml index 5fcaa6a678..0fd7b7e68c 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/bind-rho-and-sigma.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/bind-rho-and-sigma.yaml @@ -1,3 +1,4 @@ +--- sheets: - /org/eolang/maven/sodg/bind-rho.xsl - /org/eolang/maven/sodg/bind-sigma.xsl diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/bind-rho-to-abstract.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/bind-rho-to-abstract.yaml index 30a7e2f291..367e8a47c8 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/bind-rho-to-abstract.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/bind-rho-to-abstract.yaml @@ -1,3 +1,4 @@ +--- sheets: - /org/eolang/maven/sodg/bind-rho.xsl document: diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/connect-dots-to-copy.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/connect-dots-to-copy.yaml index 61acdd303a..e718d37712 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/connect-dots-to-copy.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/connect-dots-to-copy.yaml @@ -1,3 +1,4 @@ +--- sheets: - /org/eolang/maven/sodg/connect-dots.xsl document: diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/connect-dots.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/connect-dots.yaml index ee6b110715..3b1a8dbc75 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/connect-dots.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/connect-dots.yaml @@ -1,3 +1,4 @@ +--- sheets: - /org/eolang/maven/sodg/connect-dots.xsl document: diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/epsilons.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/epsilons.yaml index d90dadfd31..dde52e5c30 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/epsilons.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/epsilons.yaml @@ -1,3 +1,4 @@ +--- sheets: - /org/eolang/maven/sodg/epsilon-bindings.xsl document: diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/focus.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/focus.yaml index 969072f576..c9ca87d8f7 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/focus.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/focus.yaml @@ -1,3 +1,4 @@ +--- sheets: - /org/eolang/maven/sodg/focus.xsl document: diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/normalize-attrs.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/normalize-attrs.yaml index 044f749088..1fd2577caf 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/normalize-attrs.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/normalize-attrs.yaml @@ -1,3 +1,4 @@ +--- sheets: - /org/eolang/maven/sodg-to/normalize-attrs.xsl document: diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/normalize-names.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/normalize-names.yaml index ecf6ee128f..34f2c834cf 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/normalize-names.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/normalize-names.yaml @@ -1,3 +1,4 @@ +--- sheets: - /org/eolang/maven/sodg-to/normalize-names.xsl document: diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/pi-copies.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/pi-copies.yaml index d7742714d7..9f38081dcc 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/pi-copies.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/pi-copies.yaml @@ -1,3 +1,4 @@ +--- sheets: - /org/eolang/maven/sodg/pi-copies.xsl document: diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/put-atoms.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/put-atoms.yaml index 84869aa7ed..be2ae92f44 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/put-atoms.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/put-atoms.yaml @@ -1,3 +1,4 @@ +--- sheets: - /org/eolang/maven/sodg/put-atoms.xsl document: diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/put-data.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/put-data.yaml index 392e018054..baac9d1230 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/put-data.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/put-data.yaml @@ -1,3 +1,4 @@ +--- sheets: - /org/eolang/maven/sodg/put-data.xsl document: diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/to-text.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/to-text.yaml index b3b06d126e..deb46e5a68 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/to-text.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/to-text.yaml @@ -1,3 +1,4 @@ +--- sheets: - /org/eolang/maven/sodg-to/to-text.xsl document: diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/touch-all.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/touch-all.yaml index a62952b6b9..79b1979401 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/touch-all.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/touch-all.yaml @@ -1,3 +1,4 @@ +--- sheets: - /org/eolang/maven/sodg/touch-all.xsl document: diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/unroll-refs.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/unroll-refs.yaml index 06fd0e7ad2..5ff4aac412 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/unroll-refs.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/unroll-refs.yaml @@ -1,3 +1,4 @@ +--- sheets: - /org/eolang/maven/sodg/unroll-refs.xsl document: diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/unroll-with-args.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/unroll-with-args.yaml index c9ffa97c5b..a46a31bcdf 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/unroll-with-args.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodg-packs/unroll-with-args.yaml @@ -1,3 +1,4 @@ +--- sheets: - /org/eolang/maven/sodg/unroll-refs.xsl document: diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/abstracts.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/abstracts.yaml index bd555c021a..e20f5303ed 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/abstracts.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/abstracts.yaml @@ -1,3 +1,4 @@ +--- locators: - .org .eolang .int - .foo .bar .a .x .α0 .α0 .Δ δ=00-00-00-00-00-00-00-2A diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/arrays.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/arrays.yaml index 7fff0be674..0aff55258e 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/arrays.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/arrays.yaml @@ -1,3 +1,4 @@ +--- locators: - .org .eolang .test - .org .eolang .int @@ -12,4 +13,3 @@ eo: | * > z test * 42 43 - diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/atoms.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/atoms.yaml index 6fe98ffd1d..9f5bdbe8a9 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/atoms.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/atoms.yaml @@ -1,9 +1,10 @@ +--- locators: - .foo .boom .λ τ=foo.boom - .foo .hello$alpha .λ τ=foo.hello$alpha eo: | +package foo - + # This is the default 64+ symbols comment in front of named abstract object. [] > hello # This is the default 64+ symbols comment in front of named abstract object. diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/copy-of-abstract.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/copy-of-abstract.yaml index 07aedc0c0d..90826d4b52 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/copy-of-abstract.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/copy-of-abstract.yaml @@ -1,3 +1,4 @@ +--- locators: - .foo .a .π - .foo .b .α0 diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/copy-of-argument.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/copy-of-argument.yaml index e693e20fcb..cd5c474359 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/copy-of-argument.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/copy-of-argument.yaml @@ -1,3 +1,4 @@ +--- locators: - .foo .bar .ρ .f - .foo .f .ρ .bar @@ -9,4 +10,3 @@ eo: | x > bar [] f 1 > a - diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/data.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/data.yaml index 65bd86dea5..21f198674f 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/data.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/data.yaml @@ -1,3 +1,4 @@ +--- locators: - .data .f .α0 .Δ δ=40-09-21-FB-4D-12-D8-4A - .data .f .π >float diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/dot-on-ref.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/dot-on-ref.yaml index f92d3cae34..58f8bcb910 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/dot-on-ref.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/dot-on-ref.yaml @@ -1,10 +1,11 @@ +--- locators: - .foo .a .b .ε .x - .foo .a .b .ε .φ .ε .ρ - .foo .a .b .ε .φ .ε .β .test .ε >x .ρ .ρ >a eo: | +package foo - + # This is the default 64+ symbols comment in front of named abstract object. [] > a # This is the default 64+ symbols comment in front of named abstract object. diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/dots.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/dots.yaml index eedc4481d8..e68faa2983 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/dots.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/dots.yaml @@ -1,3 +1,4 @@ +--- locators: - .org .eolang .true - .org .eolang .true !.not diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/inclusions.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/inclusions.yaml index 9e539e939a..5c87fd8944 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/inclusions.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/inclusions.yaml @@ -1,3 +1,4 @@ +--- inclusion: - foo.x.* locators: diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/metas.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/metas.yaml index c2fb9d1716..0353a29914 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/metas.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/metas.yaml @@ -1,9 +1,10 @@ +--- locators: - .+version - .+time eo: | +package foo.bar - + # This is the default 64+ symbols comment in front of named abstract object. [x] > test 42 > y diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/nested-anonymous.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/nested-anonymous.yaml index f4a2c517c5..84aa9e1e09 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/nested-anonymous.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/nested-anonymous.yaml @@ -1,3 +1,4 @@ +--- locators: - .a .x .π - .a .x .α0 .ε .φ .ε .ρ .t diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/refs.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/refs.yaml index e3d53e4dd6..1508e4d1f1 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/refs.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/refs.yaml @@ -1,3 +1,4 @@ +--- locators: - .refs .x .ε - .org .eolang .true diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/rho.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/rho.yaml index ffd6d54ddb..17004ec4d0 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/rho.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/rho.yaml @@ -1,8 +1,9 @@ +--- locators: - .foo .bar .a .b .ε .c .ε .β .ρ .ξ .ρ eo: | +package foo.bar - + # This is the default 64+ symbols comment in front of named abstract object. [] > a # This is the default 64+ symbols comment in front of named abstract object. diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/simple.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/simple.yaml index 3b92a60881..e3b7b048f1 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/simple.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/simple.yaml @@ -1,3 +1,4 @@ +--- locators: - .org .eolang .int - .org .eolang .true @@ -12,7 +13,7 @@ eo: | +alias foo +alias bar +alias boom - + # This is the default 64+ symbols comment in front of named abstract object. [] > simple foo > @ diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/vars.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/vars.yaml index 312480bfe5..a12160922a 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/vars.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/sodgs/vars.yaml @@ -1,10 +1,11 @@ +--- locators: - .foo .x .a .π - .foo .x .y .ε .b .π - .foo .x .y .ε .z .ε .c .ε .β .a .ε .β .ρ .ε .β .ρ .ξ .d eo: | +package foo - + # This is the default 64+ symbols comment in front of named abstract object. [] > x 42 > a diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/atoms.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/atoms.yaml index 198560d7b8..817f7b358c 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/atoms.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/atoms.yaml @@ -1,6 +1,7 @@ +--- tests: - /program/objects/o[@name='main' and @atom and @abstract] - /program/objects/o[@name='outer' and @abstract] - /program/objects/o[@name='outer' and @abstract]/o[@name='inner' and @atom and @abstract] phi: - "{⟦main ↦ ⟦λ ⤍ Lambda⟧, outer ↦ ⟦inner ↦ ⟦λ ⤍ Lambda⟧⟧⟧}" \ No newline at end of file + "{⟦main ↦ ⟦λ ⤍ Lambda⟧, outer ↦ ⟦inner ↦ ⟦λ ⤍ Lambda⟧⟧⟧}" diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/bindings.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/bindings.yaml index a268c8cd51..265acfb514 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/bindings.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/bindings.yaml @@ -1,3 +1,4 @@ +--- tests: - /program/objects/o[@base='Q'] - /program/objects/o[@method and @base='.org'] @@ -38,4 +39,4 @@ phi: | ) ) ⟧ - } \ No newline at end of file + } diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/bool-tests.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/bool-tests.yaml index eac26039f9..64c7de125d 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/bool-tests.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/bool-tests.yaml @@ -1,3 +1,4 @@ +--- tests: - //errors[count(error)=0] phi: | @@ -746,4 +747,4 @@ phi: | λ ⤍ Package ⟧ ⟧ - } \ No newline at end of file + } diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/empty-bytes.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/empty-bytes.yaml index f03b362497..07c2ba5637 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/empty-bytes.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/empty-bytes.yaml @@ -1,7 +1,8 @@ +--- tests: - /program/objects/o[@base='Q'] - /program/objects/o[@base='.org' and @method] - /program/objects/o[@base='.eolang' and @method] - /program/objects/o[@base='.bytes' and @method and @name='empty'] - /program/objects/o[@base='.bytes' and @method and @name='empty' and o[@base='org.eolang.bytes' and not(text())]] -phi: "{⟦empty ↦ Φ.org.eolang.bytes(Δ ⤍ --)⟧}" \ No newline at end of file +phi: "{⟦empty ↦ Φ.org.eolang.bytes(Δ ⤍ --)⟧}" diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/long-names-inner.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/long-names-inner.yaml index 12131095ad..f1c7356143 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/long-names-inner.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/long-names-inner.yaml @@ -1,3 +1,4 @@ +--- tests: - //o[@abstract and @name='long-object-name' and o[@abstract and @name='long-object-name' and o[@abstract and @name='long-object-name' and o[@abstract and @name='long-object-name' and o[@abstract and @name='long-object-name']]]]] phi: | @@ -20,4 +21,4 @@ phi: | ) ⟧ ⟧ - } \ No newline at end of file + } diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/new-lines.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/new-lines.yaml index d1762a6b88..7884246977 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/new-lines.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/new-lines.yaml @@ -1,3 +1,4 @@ +--- tests: - /program/objects/o[@name='main' and @abstract and o[@name='x']] phi: | @@ -7,4 +8,4 @@ phi: | x ↦ ξ.y ⟧ ⟧ - } \ No newline at end of file + } diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/normalized.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/normalized.yaml index 8126da32e7..01e674f28d 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/normalized.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/normalized.yaml @@ -1,4 +1,5 @@ +--- tests: - /program/objects[count(o)=1]/o[@name='app'] phi: - "{ ⟦ app ↦ ⟦ args ↦ ∅, φ ↦ Φ.org.eolang.io.stdout (α0 ↦ Φ.org.eolang.string (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 48-65-6C-6C-6F-2C-20-77-6F-72-6C-64-21-0A))) ⟧ ⟧ }" \ No newline at end of file + "{ ⟦ app ↦ ⟦ args ↦ ∅, φ ↦ Φ.org.eolang.io.stdout (α0 ↦ Φ.org.eolang.string (α0 ↦ Φ.org.eolang.bytes (Δ ⤍ 48-65-6C-6C-6F-2C-20-77-6F-72-6C-64-21-0A))) ⟧ ⟧ }" diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/one-byte.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/one-byte.yaml index 7891cb3682..d2beb11d8e 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/one-byte.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/one-byte.yaml @@ -1,6 +1,7 @@ +--- tests: - /program/objects/o[@base='Q'] - /program/objects/o[@base='.org' and @method] - /program/objects/o[@base='.eolang' and @method] - /program/objects/o[@base='.bytes' and @method and @name='bts' and o[@base='org.eolang.bytes' and text()='A2']] -phi: "{⟦bts ↦ Φ.org.eolang.bytes(Δ ⤍ A2-)⟧}" \ No newline at end of file +phi: "{⟦bts ↦ Φ.org.eolang.bytes(Δ ⤍ A2-)⟧}" diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/package.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/package.yaml index c2c964c507..dcefda54f3 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/package.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/package.yaml @@ -1,3 +1,4 @@ +--- tests: - /program/metas/meta[head[text()='package'] and tail[text()='foo.bar.baz'] and part[text()='foo.bar.baz']] - /program/objects/o[@abstract and @name='main'] @@ -5,4 +6,4 @@ tests: - /program/objects/o[@abstract and @name='main']/o[@base='.org' and @method] - /program/objects/o[@abstract and @name='main']/o[@base='.eolang' and @method] - /program/objects/o[@abstract and @name='main']/o[@base='.stdout' and @method and @name='@'] -phi: "{⟦foo ↦ ⟦bar ↦ ⟦baz ↦ ⟦main ↦ ⟦φ ↦ Φ.org.eolang.stdout⟧, λ ⤍ Package⟧, λ ⤍ Package⟧, λ ⤍ Package⟧⟧}" \ No newline at end of file +phi: "{⟦foo ↦ ⟦bar ↦ ⟦baz ↦ ⟦main ↦ ⟦φ ↦ Φ.org.eolang.stdout⟧, λ ⤍ Package⟧, λ ⤍ Package⟧, λ ⤍ Package⟧⟧}" diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/spaces.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/spaces.yaml index 402f00afe5..f07188f9a3 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/spaces.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/spaces.yaml @@ -1,3 +1,4 @@ +--- tests: - /program/objects/o[@name='main' and @abstract and o[@name='x']] -phi: "{⟦main ↦ ⟦ x ↦ ξ.y ⟧ ⟧ } " \ No newline at end of file +phi: "{⟦main ↦ ⟦ x ↦ ξ.y ⟧ ⟧ } " diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/specials.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/specials.yaml index 8f5a258997..c6ab3ada0d 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/specials.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/specials.yaml @@ -1,3 +1,4 @@ +--- tests: - /program/objects/o[@name='main'] - /program/objects/o[@name='main']/o[@base='$']/following-sibling::o[@base='.^' and @method]/following-sibling::o[@base='.x' and @method and @name='x'] @@ -17,4 +18,4 @@ eo: | y.& > h $.a > a @.@ > phi -phi: "{⟦main ↦ ⟦x ↦ ξ.ρ.x, h ↦ Φ.org.eolang.y.σ, a ↦ ξ.ρ.a, phi ↦ ξ.φ.φ⟧⟧}" \ No newline at end of file +phi: "{⟦main ↦ ⟦x ↦ ξ.ρ.x, h ↦ Φ.org.eolang.y.σ, a ↦ ξ.ρ.a, phi ↦ ξ.φ.φ⟧⟧}" diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/with-anonym-abstract.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/with-anonym-abstract.yaml index 3b36045306..8f46bb295f 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/with-anonym-abstract.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/with-anonym-abstract.yaml @@ -1,3 +1,4 @@ +--- tests: - //o[@name='test' and count(o)=2] - //o[@name='test']/o[position()=1 and @abstract and not(@name)] @@ -11,4 +12,4 @@ phi: | ) ⟧ ⟧ - } \ No newline at end of file + } diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/with-data.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/with-data.yaml index 8183040e7f..344dcecd86 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/with-data.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/with-data.yaml @@ -1,3 +1,4 @@ +--- tests: - /program/objects/o[@base='Q'] - /program/objects/o[@base='.org' and @method] diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/with-home.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/with-home.yaml index aabbfeb118..d50103449e 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/with-home.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/with-home.yaml @@ -1,8 +1,9 @@ +--- tests: - /program/objects/o[@name='main' and @abstract and o[@name='x']] phi: | Φ ↦ ⟦ main ↦ ⟦ x ↦ ξ.y - ⟧ - ⟧ \ No newline at end of file + ⟧ + ⟧ From 7ee9ebc1510180155de6572e0f8291bb7f9e698d Mon Sep 17 00:00:00 2001 From: Vyacheslav Rybalchenko Date: Sun, 21 Apr 2024 16:23:58 +0300 Subject: [PATCH 5/8] 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: From 6230b7fdf9558f618a7d0097e1b02ccc89094775 Mon Sep 17 00:00:00 2001 From: Vyacheslav Rybalchenko Date: Sun, 21 Apr 2024 16:32:49 +0300 Subject: [PATCH 6/8] fix(objectionary#3035): fix ./eo-runtime yaml linting errors and warnings --- eo-runtime/src/test/resources/org/eolang/snippets/all.yaml | 3 ++- .../test/resources/org/eolang/snippets/complex-horizontal.yaml | 3 ++- eo-runtime/src/test/resources/org/eolang/snippets/fibo.yaml | 2 +- .../src/test/resources/org/eolang/snippets/ifthenelse.yaml | 2 +- .../src/test/resources/org/eolang/snippets/parenting.yaml | 1 + .../test/resources/org/eolang/snippets/simple-horizontal.yaml | 3 ++- eo-runtime/src/test/resources/org/eolang/snippets/simple.yaml | 3 ++- .../resources/org/eolang/snippets/vertical-bound-methods.yaml | 3 ++- 8 files changed, 13 insertions(+), 7 deletions(-) diff --git a/eo-runtime/src/test/resources/org/eolang/snippets/all.yaml b/eo-runtime/src/test/resources/org/eolang/snippets/all.yaml index c2fc78f26c..12b758a9c0 100644 --- a/eo-runtime/src/test/resources/org/eolang/snippets/all.yaml +++ b/eo-runtime/src/test/resources/org/eolang/snippets/all.yaml @@ -1,7 +1,8 @@ +--- out: - ".*works!.*" file: org/eolang/snippets/all.eo -args: ["org.eolang.snippets.all"] +args: [ "org.eolang.snippets.all" ] eo: | +package org.eolang.snippets diff --git a/eo-runtime/src/test/resources/org/eolang/snippets/complex-horizontal.yaml b/eo-runtime/src/test/resources/org/eolang/snippets/complex-horizontal.yaml index 0bf7ae8b7d..0973f9e598 100644 --- a/eo-runtime/src/test/resources/org/eolang/snippets/complex-horizontal.yaml +++ b/eo-runtime/src/test/resources/org/eolang/snippets/complex-horizontal.yaml @@ -1,7 +1,8 @@ +--- out: - ".*Hello, Jeff.*" file: org/eolang/snippets/complex-horizontal.eo -args: ["org.eolang.snippets.complex-horizontal"] +args: [ "org.eolang.snippets.complex-horizontal" ] eo: | +package org.eolang.snippets +alias org.eolang.io.stdout diff --git a/eo-runtime/src/test/resources/org/eolang/snippets/fibo.yaml b/eo-runtime/src/test/resources/org/eolang/snippets/fibo.yaml index 846ca25987..71facbab49 100644 --- a/eo-runtime/src/test/resources/org/eolang/snippets/fibo.yaml +++ b/eo-runtime/src/test/resources/org/eolang/snippets/fibo.yaml @@ -1,3 +1,4 @@ +--- skip: true file: org/eolang/snippets/fibo.eo out: @@ -22,4 +23,3 @@ eo: | "%d is the %dth number\n" 8 f 6 - diff --git a/eo-runtime/src/test/resources/org/eolang/snippets/ifthenelse.yaml b/eo-runtime/src/test/resources/org/eolang/snippets/ifthenelse.yaml index af2177dab8..2864eb43bb 100644 --- a/eo-runtime/src/test/resources/org/eolang/snippets/ifthenelse.yaml +++ b/eo-runtime/src/test/resources/org/eolang/snippets/ifthenelse.yaml @@ -1,3 +1,4 @@ +--- out: - ".*greater.*" file: org/eolang/snippets/ifthenelse.eo @@ -16,4 +17,3 @@ eo: | "greater" stdout > @ f 17 - diff --git a/eo-runtime/src/test/resources/org/eolang/snippets/parenting.yaml b/eo-runtime/src/test/resources/org/eolang/snippets/parenting.yaml index 9564d38234..cfc0271bd1 100644 --- a/eo-runtime/src/test/resources/org/eolang/snippets/parenting.yaml +++ b/eo-runtime/src/test/resources/org/eolang/snippets/parenting.yaml @@ -1,3 +1,4 @@ +--- file: org/eolang/snippets/parenting.eo out: - ".*123.*" diff --git a/eo-runtime/src/test/resources/org/eolang/snippets/simple-horizontal.yaml b/eo-runtime/src/test/resources/org/eolang/snippets/simple-horizontal.yaml index 64c26c83c5..18d2f4c20c 100644 --- a/eo-runtime/src/test/resources/org/eolang/snippets/simple-horizontal.yaml +++ b/eo-runtime/src/test/resources/org/eolang/snippets/simple-horizontal.yaml @@ -1,7 +1,8 @@ +--- out: - ".*Hello, Jeff!.*" file: org/eolang/snippets/simple-horizontal.eo -args: ["org.eolang.snippets.simple-horizontal"] +args: [ "org.eolang.snippets.simple-horizontal" ] eo: | +package org.eolang.snippets +alias org.eolang.io.stdout diff --git a/eo-runtime/src/test/resources/org/eolang/snippets/simple.yaml b/eo-runtime/src/test/resources/org/eolang/snippets/simple.yaml index cd6cf433f8..e221e80073 100644 --- a/eo-runtime/src/test/resources/org/eolang/snippets/simple.yaml +++ b/eo-runtime/src/test/resources/org/eolang/snippets/simple.yaml @@ -1,7 +1,8 @@ +--- out: - ".*Hello, Jeff!.*" file: org/eolang/snippets/simple.eo -args: ["org.eolang.snippets.simple"] +args: [ "org.eolang.snippets.simple" ] eo: | +package org.eolang.snippets +alias org.eolang.io.stdout diff --git a/eo-runtime/src/test/resources/org/eolang/snippets/vertical-bound-methods.yaml b/eo-runtime/src/test/resources/org/eolang/snippets/vertical-bound-methods.yaml index 3191d11db3..9c69f799e6 100644 --- a/eo-runtime/src/test/resources/org/eolang/snippets/vertical-bound-methods.yaml +++ b/eo-runtime/src/test/resources/org/eolang/snippets/vertical-bound-methods.yaml @@ -1,7 +1,8 @@ +--- out: - ".*first.*" file: org/eolang/snippets/vmb.eo -args: ["org.eolang.snippets.vbm"] +args: [ "org.eolang.snippets.vbm" ] eo: | +package org.eolang.snippets +alias org.eolang.io.stdout From 3230a66f4fd49af208ccb524c504ffcc1bb02d46 Mon Sep 17 00:00:00 2001 From: Vyacheslav Rybalchenko Date: Sun, 21 Apr 2024 16:33:59 +0300 Subject: [PATCH 7/8] fix(objectionary#3035): fix remaining yaml linting errors and warnings --- .0pdd.yml | 1 + .codacy.yml | 1 + .markdownlint.yml | 3 ++- .rultor.yml | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.0pdd.yml b/.0pdd.yml index 36d0a7feee..91dab09e4e 100644 --- a/.0pdd.yml +++ b/.0pdd.yml @@ -1,3 +1,4 @@ +--- errors: - yegor256@gmail.com # alerts: diff --git a/.codacy.yml b/.codacy.yml index 9d54c54c28..e2c8592ccf 100644 --- a/.codacy.yml +++ b/.codacy.yml @@ -1,6 +1,7 @@ # @todo #1326:30min Enable only necessary tests. Several checks # are not available for the project. For example a lot of # package name contains capital letter and such names are conventional. +--- exclude_paths: - "eo-runtime/src/main/java/EOorg/EOeolang/EOcage$EOencaged$EOencage.java" - "eo-runtime/src/main/java/EOorg/EOeolang/Cages.java" diff --git a/.markdownlint.yml b/.markdownlint.yml index 7bf567f1ae..f2a8a2bcd9 100644 --- a/.markdownlint.yml +++ b/.markdownlint.yml @@ -1,3 +1,4 @@ +--- # Default state for all rules default: true @@ -7,7 +8,7 @@ MD013: # Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md033.md MD033: - allowed_elements: [img] + allowed_elements: [ img ] # Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md040.md MD040: false diff --git a/.rultor.yml b/.rultor.yml index 225aa2db49..4ab42ed64f 100644 --- a/.rultor.yml +++ b/.rultor.yml @@ -1,3 +1,4 @@ +--- architect: - yegor256 ec2: From 28cd4e79963d45c5de87bee4687f0b52d288ea5a Mon Sep 17 00:00:00 2001 From: Vyacheslav Rybalchenko Date: Sun, 21 Apr 2024 20:02:35 +0300 Subject: [PATCH 8/8] fix(objectionary#3035): fix phi and unphi newline parsing --- .../src/test/resources/org/eolang/maven/phi/yaml/as-phi.yaml | 2 +- .../src/test/resources/org/eolang/maven/phi/yaml/atoms.yaml | 2 +- .../src/test/resources/org/eolang/maven/phi/yaml/bindings.yaml | 2 +- .../test/resources/org/eolang/maven/phi/yaml/bool-tests.yaml | 2 +- .../src/test/resources/org/eolang/maven/phi/yaml/bytes.yaml | 2 +- .../test/resources/org/eolang/maven/phi/yaml/custom-alias.yaml | 2 +- .../test/resources/org/eolang/maven/phi/yaml/empty-bytes.yaml | 2 +- .../src/test/resources/org/eolang/maven/phi/yaml/empty.yaml | 2 +- .../src/test/resources/org/eolang/maven/phi/yaml/fibonaci.yaml | 2 +- .../src/test/resources/org/eolang/maven/phi/yaml/full-path.yaml | 2 +- .../org/eolang/maven/phi/yaml/iterates-over-counter.yaml | 2 +- .../src/test/resources/org/eolang/maven/phi/yaml/jeo-part.yaml | 2 +- .../src/test/resources/org/eolang/maven/phi/yaml/method.yaml | 2 +- .../src/test/resources/org/eolang/maven/phi/yaml/nested.yaml | 2 +- .../src/test/resources/org/eolang/maven/phi/yaml/one-byte.yaml | 2 +- .../src/test/resources/org/eolang/maven/phi/yaml/package.yaml | 2 +- .../resources/org/eolang/maven/phi/yaml/same-name-inner.yaml | 2 +- .../src/test/resources/org/eolang/maven/phi/yaml/specials.yaml | 2 +- .../org/eolang/maven/phi/yaml/with-anonym-abstract.yaml | 2 +- .../src/test/resources/org/eolang/maven/phi/yaml/with-data.yaml | 2 +- .../org/eolang/maven/phi/yaml/with-free-attributes.yaml | 2 +- .../src/test/resources/org/eolang/maven/unphi/bindings.yaml | 2 +- .../src/test/resources/org/eolang/maven/unphi/bool-tests.yaml | 2 +- .../test/resources/org/eolang/maven/unphi/long-names-inner.yaml | 2 +- .../src/test/resources/org/eolang/maven/unphi/new-lines.yaml | 2 +- .../resources/org/eolang/maven/unphi/with-anonym-abstract.yaml | 2 +- .../src/test/resources/org/eolang/maven/unphi/with-home.yaml | 2 +- 27 files changed, 27 insertions(+), 27 deletions(-) diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/as-phi.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/as-phi.yaml index 9a8ce4191f..ddc9c62128 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/as-phi.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/as-phi.yaml @@ -6,7 +6,7 @@ eo: | length. as-phi $ $.greater-than 0 -phi: | +phi: |- { ⟦ prints-itself ↦ ⟦ diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/atoms.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/atoms.yaml index e0bca74772..37bb9ad076 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/atoms.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/atoms.yaml @@ -6,7 +6,7 @@ eo: | [] > outer # This is the default 64+ symbols comment in front of named abstract object. [] > inner /bytes -phi: | +phi: |- { ⟦ main ↦ ⟦ diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/bindings.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/bindings.yaml index adc7d5ac1e..32ecee5191 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/bindings.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/bindings.yaml @@ -5,7 +5,7 @@ eo: | [z]:abs w > @ 5:five -phi: | +phi: |- { ⟦ xyz ↦ Φ.org.eolang.x( diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/bool-tests.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/bool-tests.yaml index 14201536a2..2d950fbad2 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/bool-tests.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/bool-tests.yaml @@ -63,7 +63,7 @@ eo: | 01-.as-bytes.eq true 00-.as-bytes.eq false -phi: | +phi: |- { ⟦ org ↦ ⟦ diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/bytes.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/bytes.yaml index 2e9f3a7af3..7f7c26a07e 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/bytes.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/bytes.yaml @@ -61,7 +61,7 @@ eo: | # the current and the provided one, # as a new sequence. [b] > concat /bytes -phi: | +phi: |- { ⟦ org ↦ ⟦ diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/custom-alias.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/custom-alias.yaml index a6400947e5..130eab2938 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/custom-alias.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/custom-alias.yaml @@ -6,7 +6,7 @@ eo: | # This is the default 64+ symbols comment in front of named abstract object. [y] > main x y > z -phi: | +phi: |- { ⟦ foo ↦ ⟦ diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/empty-bytes.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/empty-bytes.yaml index 5380397b6e..35c2ad45ac 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/empty-bytes.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/empty-bytes.yaml @@ -1,6 +1,6 @@ --- eo: -- > empty -phi: | +phi: |- { ⟦ empty ↦ Φ.org.eolang.bytes( diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/empty.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/empty.yaml index 73f847d78d..d73f6c38c6 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/empty.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/empty.yaml @@ -5,7 +5,7 @@ eo: | # This is the default 64+ symbols comment in front of named abstract object. [] > x seq > y -phi: | +phi: |- { ⟦ main ↦ ⟦ diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/fibonaci.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/fibonaci.yaml index 63789d133f..3aad0adb69 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/fibonaci.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/fibonaci.yaml @@ -14,7 +14,7 @@ eo: | n.minus 1 fibonacci n.minus 2 -phi: | +phi: |- { ⟦ eo ↦ ⟦ diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/full-path.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/full-path.yaml index a88562b7c0..24a53ebc10 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/full-path.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/full-path.yaml @@ -2,7 +2,7 @@ eo: | QQ.io.stdout > std Q.org.eolang.x > y -phi: | +phi: |- { ⟦ std ↦ Φ.org.eolang.io.stdout, diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/iterates-over-counter.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/iterates-over-counter.yaml index 5ae7fcc1b0..73746aa167 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/iterates-over-counter.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/iterates-over-counter.yaml @@ -14,7 +14,7 @@ eo: | x.write > @ x.as-int.plus 1 11 -phi: | +phi: |- { ⟦ iterates-over-simple-counter ↦ ⟦ diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/jeo-part.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/jeo-part.yaml index 8923afa2e7..d7a8ebeae5 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/jeo-part.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/jeo-part.yaml @@ -8,7 +8,7 @@ eo: | "java/lang/Object" > supername * > interfaces "org/eolang/benchmark/F" -phi: | +phi: |- { ⟦ org ↦ ⟦ diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/method.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/method.yaml index d29a488a4b..9489eade6c 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/method.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/method.yaml @@ -1,6 +1,6 @@ --- eo: x.y.z > xyz -phi: | +phi: |- { ⟦ xyz ↦ Φ.org.eolang.x.y.z diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/nested.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/nested.yaml index f71644df42..db7cbf10d7 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/nested.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/nested.yaml @@ -12,7 +12,7 @@ eo: | main 5 > five a > b d > e -phi: | +phi: |- { ⟦ main ↦ ⟦ diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/one-byte.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/one-byte.yaml index 82bb0be926..2dcb0d7f95 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/one-byte.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/one-byte.yaml @@ -1,6 +1,6 @@ --- eo: A2- > bts -phi: | +phi: |- { ⟦ bts ↦ Φ.org.eolang.bytes( diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/package.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/package.yaml index b3a5e8a788..aae3a05617 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/package.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/package.yaml @@ -5,7 +5,7 @@ eo: | # This is the default 64+ symbols comment in front of named abstract object. [] > main stdout > @ -phi: | +phi: |- { ⟦ foo ↦ ⟦ diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/same-name-inner.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/same-name-inner.yaml index c0d21eae84..2c081a5bd7 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/same-name-inner.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/same-name-inner.yaml @@ -13,7 +13,7 @@ eo: | # Long object 5. [] > long-object-name true > @ -phi: | +phi: |- { ⟦ compiles-correctly-with-long-duplicate-names ↦ ⟦ diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/specials.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/specials.yaml index f4d5a28b36..a888b9afaa 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/specials.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/specials.yaml @@ -6,7 +6,7 @@ eo: | y.& > h $.a > a @.@ > phi -phi: | +phi: |- { ⟦ main ↦ ⟦ diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/with-anonym-abstract.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/with-anonym-abstract.yaml index 2136a24232..072689274e 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/with-anonym-abstract.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/with-anonym-abstract.yaml @@ -4,7 +4,7 @@ eo: | [] > test ([] (^ > x)).plus > s int -phi: | +phi: |- { ⟦ test ↦ ⟦ diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/with-data.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/with-data.yaml index 0b68a8c5ed..d3ee9566f9 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/with-data.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/with-data.yaml @@ -1,6 +1,6 @@ --- eo: 5 > five -phi: | +phi: |- { ⟦ five ↦ Φ.org.eolang.int( diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/with-free-attributes.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/with-free-attributes.yaml index fffd4d16d5..990e3726d2 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/with-free-attributes.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/phi/yaml/with-free-attributes.yaml @@ -3,7 +3,7 @@ eo: | # This is the default 64+ symbols comment in front of named abstract object. [a b] > c d > @ -phi: | +phi: |- { ⟦ c ↦ ⟦ diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/bindings.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/bindings.yaml index 265acfb514..1d2afd9282 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/bindings.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/bindings.yaml @@ -23,7 +23,7 @@ tests: - /program/objects/o[@method and @base='.x' and @name='xyz']/o[@base='.int' and @method and @as='five']/o[@base='.eolang' and @method] - /program/objects/o[@method and @base='.x' and @name='xyz']/o[@base='.int' and @method and @as='five']/o[@base='.bytes' and @method and @as='0'] - /program/objects/o[@method and @base='.x' and @name='xyz']/o[@base='.int' and @method and @as='five']/o[@base='.bytes' and @method and @as='0']/text() -phi: | +phi: |- { ⟦ xyz ↦ Φ.org.eolang.x( diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/bool-tests.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/bool-tests.yaml index 64c7de125d..08e9eeb341 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/bool-tests.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/bool-tests.yaml @@ -1,7 +1,7 @@ --- tests: - //errors[count(error)=0] -phi: | +phi: |- { ⟦ org ↦ ⟦ diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/long-names-inner.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/long-names-inner.yaml index f1c7356143..eb1fc53777 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/long-names-inner.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/long-names-inner.yaml @@ -1,7 +1,7 @@ --- tests: - //o[@abstract and @name='long-object-name' and o[@abstract and @name='long-object-name' and o[@abstract and @name='long-object-name' and o[@abstract and @name='long-object-name' and o[@abstract and @name='long-object-name']]]]] -phi: | +phi: |- { ⟦ compiles-correctly-with-long-duplicate-names ↦ ⟦ diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/new-lines.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/new-lines.yaml index 7884246977..31b1a2bb01 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/new-lines.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/new-lines.yaml @@ -1,7 +1,7 @@ --- tests: - /program/objects/o[@name='main' and @abstract and o[@name='x']] -phi: | +phi: |- { ⟦ main ↦ ⟦ diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/with-anonym-abstract.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/with-anonym-abstract.yaml index 8f46bb295f..39ad9b7ab9 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/with-anonym-abstract.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/with-anonym-abstract.yaml @@ -3,7 +3,7 @@ tests: - //o[@name='test' and count(o)=2] - //o[@name='test']/o[position()=1 and @abstract and not(@name)] - //o[@name='test']/o[last() and @base='.plus' and @method] -phi: | +phi: |- { ⟦ test ↦ ⟦ diff --git a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/with-home.yaml b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/with-home.yaml index d50103449e..606b39b267 100644 --- a/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/with-home.yaml +++ b/eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/with-home.yaml @@ -1,7 +1,7 @@ --- tests: - /program/objects/o[@name='main' and @abstract and o[@name='x']] -phi: | +phi: |- Φ ↦ ⟦ main ↦ ⟦ x ↦ ξ.y