diff --git a/eo-maven-plugin/src/test/java/org/eolang/maven/LintMojoTest.java b/eo-maven-plugin/src/test/java/org/eolang/maven/LintMojoTest.java index 8b8f510799..670aca6baa 100644 --- a/eo-maven-plugin/src/test/java/org/eolang/maven/LintMojoTest.java +++ b/eo-maven-plugin/src/test/java/org/eolang/maven/LintMojoTest.java @@ -66,7 +66,7 @@ void detectsErrorsSuccessfully(@Mktmp final Path temp) throws IOException { final FakeMaven maven = new FakeMaven(temp) .withProgram( "+package f\n", - "# Test.", + "# No comments.", "[] > main", " QQ.io.stdout", " \"Hello world\"" @@ -227,7 +227,7 @@ void failsOnWarning(@Mktmp final Path temp) { "+architect yegor256@gmail.com", "+tests", "+package org.eolang.examples\n", - "# Test.", + "# No comments.", "[] > main", " [] > @", " hello > test" diff --git a/eo-maven-plugin/src/test/java/org/eolang/maven/PullMojoTest.java b/eo-maven-plugin/src/test/java/org/eolang/maven/PullMojoTest.java index 791b4777ec..fe7c488365 100644 --- a/eo-maven-plugin/src/test/java/org/eolang/maven/PullMojoTest.java +++ b/eo-maven-plugin/src/test/java/org/eolang/maven/PullMojoTest.java @@ -447,7 +447,7 @@ void getsAlreadyPulledResultsFromCache(@Mktmp final Path temp) throws Exception ); new FakeMaven(temp) .withProgram( - "# Test.", + "# No comments.", "[] > app", " QQ.io.stdout > @" ) 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 b601a3be95..48bda2ec8c 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 @@ -21,7 +21,7 @@ # SOFTWARE. --- eo: | - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > test ([] (^ > x)).plus > s int 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 d6b5e3675d..69639c6707 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 @@ -23,7 +23,7 @@ origin: | +package sandbox - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [args] > main QQ.io.stdout > @ args.at diff --git a/eo-parser/src/test/java/org/eolang/parser/EoSyntaxTest.java b/eo-parser/src/test/java/org/eolang/parser/EoSyntaxTest.java index 286e439d27..c37e589a4f 100644 --- a/eo-parser/src/test/java/org/eolang/parser/EoSyntaxTest.java +++ b/eo-parser/src/test/java/org/eolang/parser/EoSyntaxTest.java @@ -78,7 +78,7 @@ void parsesSimpleCode() throws Exception { void printsProperListingEvenWhenSyntaxIsBroken() throws Exception { final String src = String.join( "\n", - "# This is the default 64+ symbols comment in front of abstract object.", + "# No comments.", "[] > x-н, 1\n" ); MatcherAssert.assertThat( @@ -127,9 +127,9 @@ void copiesListingCorrectly() throws Exception { "1 > x\r\n\r\n2 > y", "1 > x\n2 > y\n", "1 > x\n\n2 > y", - "# This is the default 64+ symbols comment in front of abstract object.\n[] > x", + "# No comments.\n[] > x", "a b c > x\n x ^ > @", - "# This is the default 64+ symbols comment in front of abstract object.\n[] > x\n x ^ > @" + "# No comments.\n[] > x\n x ^ > @" }) void parsesSuccessfully(final String code) { final EoSyntax syntax = new EoSyntax( @@ -160,10 +160,10 @@ void parsesArrow() throws IOException { void prasesNested() throws IOException { final String src = String.join( "\n", - "# This is the default 64+ symbols comment in front of abstract object.", + "# No comments.", "[] > base", " memory 0 > x", - " # This is the default 64+ symbols comment in front of abstract object.", + " # No comments.", " [self] > f", " v > @", " v\n" 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 8bd4115d43..4628be1b8c 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 @@ -45,7 +45,7 @@ eo: | +home www.abc.com +version 0.0.0 - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > a b > @ x diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/add-probes-to-empty.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/add-probes-to-empty.yaml index b865c61005..b170e8929e 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/add-probes-to-empty.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/add-probes-to-empty.yaml @@ -25,6 +25,6 @@ tests: - //metas[count(.//meta[head/text()='probe'])=1] - /program/sheets[sheet='add-probes'] eo: | - # Test. + # No comments. [] > app Q.foo.boom > @ 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 891ea98f45..e4316f455f 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 @@ -35,7 +35,7 @@ eo: | +package org.eolang.custom +version 0.0.0 - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > app QQ.txt.sprintf > @ "Hello, world!\n" @@ -50,7 +50,7 @@ eo: | fibonacci n > f true - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [i] > other stdout > @ sprintf @@ -58,6 +58,6 @@ eo: | $.other 1 > one memory 0 > price - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [p] > set-price ^.price.write p > @ 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 8213b107d0..2aa9fb9648 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 @@ -36,7 +36,7 @@ eo: | +package org.eolang.custom +version 0.0.0 - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > app QQ.cage|0.28.10 > cg-versioned QQ.cage > cg-simple 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 4bd08814d3..30e7d2b6f4 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 @@ -40,7 +40,7 @@ eo: | +alias stdout org.eolang.io.stdout +foo Some other meta - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [args] > main and (scanner stdin).next-line > line! diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/adds-no-probes.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/adds-no-probes.yaml index 67f89f1482..93bd04cd07 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/adds-no-probes.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/adds-no-probes.yaml @@ -25,6 +25,6 @@ tests: - /program[not(metas)] - /program/sheets[sheet='add-probes'] eo: | - # Test. + # No comments. [] > app 42 > @ 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 6febfa83a6..677283bea2 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 @@ -34,7 +34,7 @@ tests: - //o[@base='x' and @line='18' and @ref='16'] - //o[@base='first' and @line='19' and @ref='2'] eo: | - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [x a] > first stdout x second > hello @@ -48,13 +48,13 @@ eo: | x something > a - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [a] > x tt x 4 first - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > y one [f] 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 43204a8e95..c3b3cc9000 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 @@ -27,7 +27,7 @@ tests: - //o[@base='.as-bytes' and @line and @pos and @name='y' and o[@base='org.eolang.dataized' and o[@base='org.eolang.c' and not(@name)]]] - //objects[count(//o[@const])=0] eo: | - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > foo number > x! # This is the default 64+ symbols comment in front of named abstract object. 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 da2a83d85b..3858260680 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 @@ -29,14 +29,14 @@ tests: - /program/errors/error[text()='This method is deprecated!'] eo: | - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > foo cti > @ 2.times 2 "error" "This method is deprecated!" - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > app QQ.io.stdout > @ QQ.txt.sprintf 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 5527dfbe00..e0ca538136 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 @@ -29,14 +29,14 @@ tests: - /program/errors/error[text()='This method is deprecated!'] eo: | - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > foo cti > @ 2.times 2 "warning" "This method is deprecated!" - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > app QQ.io.stdout > @ QQ.txt.sprintf 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 525b2c81de..3972b59c23 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 @@ -30,7 +30,7 @@ eo: | +package test +version 0.0.0 - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [x] > foo - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > y 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 3ad4eb1f2d..bdacf0db83 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 @@ -33,7 +33,7 @@ tests: eo: | +alias QQ.txt.sprintfQQ - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > app QQ.io.stdout > @ "Hello, world!\n" 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 11745d993f..bc0c8b1db9 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 @@ -30,7 +30,7 @@ eo: | +alias org.eolang.txt.scanner +alias stdin org.eolang.io.stdin - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [args] > main and (scanner stdin).next-line > line! diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/float-atom-vars.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/float-atom-vars.yaml index 8bc6bf9340..6115c0b068 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/float-atom-vars.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/float-atom-vars.yaml @@ -28,6 +28,6 @@ tests: - //objects[not(o[@atom and o[@base]])] - //o[@atom and o[not(@base)]] eo: | - # Test. + # No comments. [] > main [x] > foo /number 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 f4b5d8a325..5e00ea528a 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 @@ -29,9 +29,9 @@ xsls: tests: - /program[count(.//o[@base='build' and not(@ref)])=2] eo: | - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > hello - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [f s] > calc plus. > @ f.next @@ -42,13 +42,13 @@ eo: | "Result is %d\n" calc [] - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [x] > build x.plus 1 > @ build (@.plus 1) > next build 1 > @ [] - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [y] > build y.plus 2 > @ build (@.plus 2) > next 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 f7c6d11615..13ade9ca9c 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 @@ -38,30 +38,30 @@ tests: - //o[@name='mm' and @base='number'] - //o[@base='mm'] eo: | - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > x first > ff one - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > y two input > t! "Hello, world!" - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > oops 50 three t - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > last three 1 - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [ppp] > pp one - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [aaa] > kkk 1 > ooo - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > head bb > @ [zz] 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 629033cacc..9b043a5860 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 @@ -47,14 +47,14 @@ eo: | 500.43.@ > one - # This is the default 64+ symbols comment in front of abstract object. + # No comments. "Hello, друг!" > hello! - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [tt a] > atom /int # This is very good object - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [x] > first x > @ second > hello @@ -101,14 +101,14 @@ eo: | b oops - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > obj "some" > @ [] > foo ^.@ > @ # Comments are allowed only in front of top-level objects - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > named one.two.three.four.five t.o @@ -121,7 +121,7 @@ eo: | me (now (f (f (f (f 1)))).f):i - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > ooo [] > o-1 /? 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 ab09bf8f76..83cf69e0c6 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 @@ -24,5 +24,5 @@ xsls: [ ] tests: - /comment()[1] eo: | - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > main 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 0e31ecfd1a..4b70fe610e 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 @@ -37,9 +37,9 @@ eo: | +package test +version 0.0.0 - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [args] > main - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [y] > leap or. > @ and. diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/no-ref-to-bytes.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/no-ref-to-bytes.yaml index 6316f817b8..7b8e5fa00a 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/no-ref-to-bytes.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/no-ref-to-bytes.yaml @@ -28,6 +28,6 @@ tests: eo: | +package org.eolang - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > bytes $.eq 01- > yes 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 734c3634d0..e7aabf4e35 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 @@ -30,9 +30,9 @@ tests: - //objects[count(.//o[@base='hello$t1$t2$t2$t1$a0$build'] and @name='next')=1] - //objects[count(.//o[@base='hello$t1$t2$t2$t1$a1$build'] and @name='next')=1] eo: | - # This is the default 64+ symbols comment in front of abstract object + # No comments [] > hello - # This is the default 64+ symbols comment in front of abstract object + # No comments [f s] > calc plus. > @ f.next @@ -44,13 +44,13 @@ eo: | "Result is %d\n" calc [] - # This is the default 64+ symbols comment in front of abstract object + # No comments [x] > build x.plus 1 > @ build (@.plus 1) > next build 1 > @ [] - # This is the default 64+ symbols comment in front of abstract object + # No comments [y] > build y.plus 2 > @ build (@.plus 2) > next 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 bff4c3fe6f..c51332a066 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 @@ -39,33 +39,33 @@ tests: - //o[@name='first$t2$second$third']/o[@base='stdout']/o[@base='a'] - //o[@line and @name='aa'] eo: | - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [a b] > first test > foo a > yes - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > native - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [x b] > second a > no - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [b c] > third no > yes (stdout a b c x).print > print t - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > third "hello, world!" > msg f - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > third "hello, world!" > msg - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > fourth "Failure" > failure - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [aa] > ooo - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [bbb] > fff aa.test > a 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 3404635f54..f8ab95f6e1 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 @@ -30,9 +30,9 @@ xsls: tests: - //o[@base='first$second' and @line='6'] eo: | - # This is the default 64+ symbols comment in front of abstract object + # No comments [a] > first - # This is the default 64+ symbols comment in front of abstract object + # No comments [b] > second print second 1 diff --git a/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/float-atom.yaml b/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/float-atom.yaml index ce26de2f81..2ff06b4799 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/float-atom.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/packs/optimize/float-atom.yaml @@ -32,6 +32,6 @@ tests: - //objects[not(//o[@atom and o[@base]])] - //o[@atom and o[not(@base)]] eo: | - # Test. + # No comments. [] > main [x] > foo /number 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 544a1484ae..5e396b81f3 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 @@ -28,9 +28,9 @@ tests: - /program[not(errors)] - //o[@name='a$m$t2$a0'] eo: | - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > a - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [f] > m $ > this z > @ 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 8496d1cc72..d7f8cfd746 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 @@ -45,8 +45,8 @@ tests: # arg.method > a # ____ eo: | - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [arg] > first - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > second arg.method > a 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 d38ba7ae34..b927515102 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 @@ -69,14 +69,14 @@ tests: # arg.two > @ # ____ eo: | - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [arg] > main sibling > @ - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > sibling - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > first arg.one > @ - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > second 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 34a8dccba8..b85559610a 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 @@ -59,13 +59,13 @@ tests: # arg.two > @ # ____ eo: | - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [arg] > main sibling > @ eq. > sibling - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > first arg.one > @ - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > second 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 e60bc11c3d..82a00d3f7a 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 @@ -60,7 +60,7 @@ tests: # 2 # ____ eo: | - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > main * 0 (* 1 2) > arr eq > @ 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 62e46be65f..09659251eb 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 @@ -53,13 +53,13 @@ tests: # 2 > @ # ____ eo: | - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > main sibling > @ eq. > sibling - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > first 1 > @ - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > second 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 9dac830767..5eb4bd4287 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 @@ -52,12 +52,12 @@ tests: # ____ eo: | - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > another eq. > @ - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > first 1 > @ - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > second 2 > @ 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 b5803833f3..ed96727d4c 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 @@ -26,7 +26,7 @@ tests: - //o[@name='y' and text()='20-66-6F-6F'] - //o[@name='z' and text()='66-6F-6F-20'] eo: | - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > foo " " > x " foo" > y 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 b480c4cd7e..9ce006d22a 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 @@ -28,6 +28,6 @@ eo: | +package org.eolang.priority +version 0.0.0 - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > x 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 9553815532..0b59fca917 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 @@ -29,6 +29,6 @@ eo: | +package org.eolang.priority +version 0.0.0 - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > sum ^.a.plus ^.b > @ 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 eaea344519..7c5ec38a93 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 @@ -29,8 +29,8 @@ eo: | +package test +version 0.0.0 - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [args] > main - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [n] > f f 5 > @ 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 17ab0e3501..86a0cebebd 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 @@ -40,7 +40,7 @@ eo: | +alias stdout org.eolang.io.stdout +foo Some other meta - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [args] > main and (scanner stdin).next-line > line! 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 ca8c5f071f..9be73767f3 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 @@ -24,11 +24,11 @@ xsls: [ ] tests: - //o[@base='foo' and count(o)=1] eo: | - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > aliases - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [x] > foo - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [y] > @ 42 > @ eq. > @ 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 e56165e12f..83d6c6adba 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 @@ -26,15 +26,15 @@ tests: - //o[@base='bar' and count(o)=2] - //o[@base='foobar' and count(o)=2] eo: | - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > aliases - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [x y] > foo 42 > @ - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [z k] > bar 43 > @ - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [i j] > foobar 44 > @ eq. > @ 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 d396f9b3a6..11cd4b4233 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 @@ -26,15 +26,12 @@ tests: - //o[@base='bar' and count(o)=2] - //o[@base='foobar' and count(o)=2 and o[@base='foo' and count(o)=2]] eo: | - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > aliases - # This is the default 64+ symbols comment in front of abstract object. [x y] > foo 42 > @ - # This is the default 64+ symbols comment in front of abstract object. [z k] > bar 43 > @ - # This is the default 64+ symbols comment in front of abstract object. [i j] > foobar 44 > @ eq. > @ 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 bc5f7b6290..55656defbd 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 @@ -26,7 +26,7 @@ tests: - //o[@base='.foo' and count(o)=2] - //o[@base='.bar' and count(o)=2] eo: | - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > aliases eq. > @ (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 9d33067c16..ce69105055 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 @@ -27,21 +27,21 @@ tests: - //o[@base='.with' and count(o)=2]/o[@base='.with' and count(o)=3]/o[@base='foobar'] - //o[@base='.with' and count(o)=2]/o[@base='.with' and count(o)=2]/o[@base='.with' and count(o)=3]/o[@base='foobar'] eo: | - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > aliases - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > foo - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [y] > with 42 > @ - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > bar - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [x] > with foo > @ - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > foobar - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [z d] > with bar > @ eq. > @ 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 cb359b06f6..e1fdf024c6 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 @@ -24,6 +24,6 @@ xsls: [ ] tests: - //o[@abstract and count(o)=1] eo: | - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > aliases a (b (c d)) 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 aa43797cb1..b8cd8fc343 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 @@ -26,10 +26,10 @@ tests: - //o[@base='.plus' and @name='a'] - //o[@base='number' and @name='@' and starts-with(text(), '40-14')] eo: | - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [x] (x.plus 1 > a) (5 > @) > first - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [a b] ((a.plus 6).plus b > inner) > second foo 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 3c599441ae..6c6691f19e 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 @@ -44,5 +44,5 @@ eo: | """ (-_-) """ > x - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > obj 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 74b52d2b54..3d2fc8f921 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 @@ -30,7 +30,7 @@ tests: - //o[@base='.stdout' and @ver='1.28.5'] - //o[@base='.sprintf' and @ver='0.28.5' and @name='y'] eo: | - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > main func0|3.4.5 > x func1|1.2.3 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 fc164b7ba4..10b690b64e 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 @@ -28,7 +28,7 @@ tests: eo: | +package test - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [a bя xты-друг] > iПрИвЕт_кАк-дЕла123_你好 process. > @ a 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 9f72272649..200d81e5bb 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 @@ -34,7 +34,7 @@ tests: - //o[@base='a' and @name='xxx'] - //o[@base='.f2' and not(@name)] eo: | - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [args] > app stdout sprintf 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 d6b5e3675d..69639c6707 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 @@ -23,7 +23,7 @@ origin: | +package sandbox - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [args] > main QQ.io.stdout > @ args.at 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 c2cfda291c..02f487e41c 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 @@ -22,5 +22,5 @@ --- line: 2 eo: | - # This is the default 64+ symbols comment in front of abstract object + # No comments [] > a [] > b [] > c [] > d hello world 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 a397454b89..50575bb62f 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 @@ -22,7 +22,7 @@ --- line: 5 eo: | - # This is the default 64+ symbols comment in front of abstract object + # No comments [args] > app stdout > @ # a comment here is prohibited 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 e55c15bdb0..c638e90ba4 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 @@ -22,9 +22,9 @@ --- line: 4 eo: | - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [args] > one - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > 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 39a0b0b666..f38aab58d0 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 @@ -22,6 +22,6 @@ --- line: 3 eo: | - # This is the default 64+ symbols comment in front of abstract object + # No comments [] > hello a.QQ.b > x diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/double-space-in-meta.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/double-space-in-meta.yaml index e922c54012..65b2bd494e 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/double-space-in-meta.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/double-space-in-meta.yaml @@ -24,5 +24,5 @@ line: 1 eo: | +meta with spaces - # This is the default 64+ symbols comment in front of abstract object + # No comments [] > app 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 c1e9a90b4e..93dffc1a08 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 @@ -22,9 +22,9 @@ --- line: 6 eo: | - # This is the default 64+ symbols comment in front of abstract object + # No comments [] > main - # This is the default 64+ symbols comment in front of abstract object + # No comments [] > x x y > a 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 84208db271..9fcd7fe145 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 @@ -22,7 +22,7 @@ --- line: 3 eo: | - # This is the default 64+ symbols comment in front of abstract object + # No comments [] > object "Hello" > @ 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 c807b85b36..f6aae7dac6 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 @@ -22,22 +22,22 @@ --- line: 19 eo: | - # This is the default 64+ symbols comment in front of abstract object + # No comments [] > main - # This is the default 64+ symbols comment in front of abstract object + # No comments [] > x - # This is the default 64+ symbols comment in front of abstract object + # No comments [] > y - # This is the default 64+ symbols comment in front of abstract object + # No comments [] > z - # This is the default 64+ symbols comment in front of abstract object + # No comments [] > m x > a - # This is the default 64+ symbols comment in front of abstract object + # No comments [] > 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 dfb0702bbe..bdcca88ac4 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 @@ -22,9 +22,9 @@ --- line: 6 eo: | - # This is the default 64+ symbols comment in front of abstract object + # No comments [] > main - # This is the default 64+ symbols comment in front of abstract object + # No comments [] > x x.y > a 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 38bf49964e..99a72fc2e9 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 @@ -22,15 +22,15 @@ --- line: 12 eo: | - # This is the default 64+ symbols comment in front of abstract object + # No comments [] > main - # This is the default 64+ symbols comment in front of abstract object + # No comments [] > x - # This is the default 64+ symbols comment in front of abstract object + # No comments [] > y x > z - # This is the default 64+ symbols comment in front of abstract object + # No comments [] > a a > c 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 3ce98ec1f1..6f6f5d483b 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 @@ -22,9 +22,9 @@ --- line: 6 eo: | - # This is the default 64+ symbols comment in front of abstract object + # No comments [] > main - # This is the default 64+ symbols comment in front of abstract object + # No comments [] > x x > a 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 9e5d31df44..1a5f8ebdb7 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 @@ -22,7 +22,7 @@ --- line: 5 eo: | - # This is the default 64+ symbols comment in front of abstract object + # No comments [] > main x > @ a 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 846c0a703f..6df2c2dd55 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 @@ -22,7 +22,7 @@ --- line: 6 eo: | - # This is the default 64+ symbols comment in front of abstract object + # No comments [] > app stdout sprintf 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 91f630d4c3..cebd7e0112 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 @@ -22,7 +22,7 @@ --- line: 6 eo: | - # This is the default 64+ symbols comment in front of abstract object + # No comments [args] > app stdout sprintf 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 abb361baff..feeb050c07 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 @@ -22,7 +22,7 @@ --- line: 4 eo: | - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > test /int - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > inner 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 f9b7eaf206..16bb3cb827 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 @@ -22,7 +22,7 @@ --- line: 4 eo: | - # This is the default 64+ symbols comment in front of abstract object + # No comments [] > foo * 1 diff --git a/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parenheses.yaml b/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parenheses.yaml index 81493935d0..789b60f73c 100644 --- a/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parenheses.yaml +++ b/eo-parser/src/test/resources/org/eolang/parser/typos/redundant-parenheses.yaml @@ -26,6 +26,6 @@ eo: | +package a.b.c +version 0.0.0 - # This is the default 64+ symbols comment in front of abstract object + # No comments [] > x (1.plus 2) > y 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 146f10934a..f8515920fe 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 @@ -22,6 +22,6 @@ --- line: 3 eo: | - # This is the default 64+ symbols comment in front of abstract object + # No comments [] > foo a. b. c > x 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 2b86a26ee3..c755e1bc61 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 @@ -22,6 +22,6 @@ --- line: 3 eo: | - # This is the default 64+ symbols comment in front of abstract object + # No comments [] > hello a.Q.b > x 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 b00a0f1205..1b9afecf49 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 @@ -22,6 +22,6 @@ --- line: 3 eo: | - # This is the default 64+ symbols comment in front of abstract object + # No comments [x] > first 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 08a83a7d82..4d44d1e89a 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 @@ -22,6 +22,6 @@ --- line: 3 eo: | - # This is the default 64+ symbols comment in front of abstract object + # No comments [] > hello a : b > x 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 b8b3eb4b70..d257eb049f 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 @@ -22,5 +22,5 @@ --- line: 2 eo: | - # This is the default 64+ symbols comment in front of abstract object + # No comments [] > foo 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 6aa27c8995..47adf30165 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 @@ -22,5 +22,5 @@ --- line: 2 eo: | - # This is the default 64+ symbols comment in front of abstract object + # No comments [] > foo.x.main 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 853279c8fe..056139c196 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 @@ -22,7 +22,7 @@ --- line: 5 eo: | - # This is the default 64+ symbols comment in front of abstract object + # No comments [args] > app stdout sprintf 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 3ef334131f..d8c17f98f1 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 @@ -23,8 +23,8 @@ line: 4 # yamllint disable rule:trailing-spaces eo: | - # This is the default 64+ symbols comment in front of abstract object. + # No comments. [] > t - # This is the default 64+ symbols comment in front of abstract object + # No comments # This one with space at the end [] > x 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 52b5019a30..faabead4f4 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 @@ -22,6 +22,6 @@ --- line: 3 eo: | - # This is the default 64+ symbols comment in front of abstract object + # No comments [args] > app stdout|1.2.3 42 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 d30bb7fd24..7b2b41e877 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 @@ -22,6 +22,6 @@ --- line: 3 eo: | - # This is the default 64+ symbols comment in front of abstract object + # No comments [] > hello a.$.b > x