-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
103 additions
and
1 deletion.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
eo-maven-plugin/src/test/resources/org/eolang/maven/phi/same-name-inner.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
eo: | | ||
# Test. | ||
[] > compiles-correctly-with-long-duplicate-names | ||
# Long object 1. | ||
[] > long-object-name | ||
# Long object 2. | ||
[] > long-object-name | ||
# Long object 3. | ||
[] > long-object-name | ||
# Long object 4. | ||
[] > long-object-name | ||
# Long object 5. | ||
[] > long-object-name | ||
TRUE > @ | ||
phi: | | ||
{ | ||
⟦ | ||
compiles-correctly-with-long-duplicate-names ↦ ⟦ | ||
long-object-name ↦ ⟦ | ||
long-object-name ↦ ⟦ | ||
long-object-name ↦ ⟦ | ||
long-object-name ↦ ⟦ | ||
long-object-name ↦ ⟦⟧ | ||
⟧ | ||
⟧ | ||
⟧ | ||
⟧, | ||
φ ↦ Φ.org.eolang.bool( | ||
α0 ↦ Φ.org.eolang.bytes( | ||
Δ ⤍ 01- | ||
) | ||
) | ||
⟧ | ||
⟧ | ||
} |
23 changes: 23 additions & 0 deletions
23
eo-maven-plugin/src/test/resources/org/eolang/maven/unphi/long-names-inner.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
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: | | ||
{ | ||
⟦ | ||
compiles-correctly-with-long-duplicate-names ↦ ⟦ | ||
long-object-name ↦ ⟦ | ||
long-object-name ↦ ⟦ | ||
long-object-name ↦ ⟦ | ||
long-object-name ↦ ⟦ | ||
long-object-name ↦ ⟦⟧ | ||
⟧ | ||
⟧ | ||
⟧ | ||
⟧, | ||
φ ↦ Φ.org.eolang.bool( | ||
α0 ↦ Φ.org.eolang.bytes( | ||
Δ ⤍ 01- | ||
) | ||
) | ||
⟧ | ||
⟧ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
eo-parser/src/test/resources/org/eolang/parser/samples/same-name-inners.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
origin: | | ||
# This is the default 64+ symbols comment in front of named abstract object. | ||
[] > compiles-correctly-with-long-duplicate-names | ||
# This is the default 64+ symbols comment in front of named abstract object. | ||
[] > long-object-name | ||
# This is the default 64+ symbols comment in front of named abstract object. | ||
[] > long-object-name | ||
# This is the default 64+ symbols comment in front of named abstract object. | ||
[] > long-object-name | ||
# This is the default 64+ symbols comment in front of named abstract object. | ||
[] > long-object-name | ||
# This is the default 64+ symbols comment in front of named abstract object. | ||
[] > long-object-name | ||
TRUE > @ | ||
straight: | | ||
# This is the default 64+ symbols comment in front of named abstract object. | ||
[] > compiles-correctly-with-long-duplicate-names | ||
# This is the default 64+ symbols comment in front of named abstract object. | ||
[] > long-object-name | ||
# This is the default 64+ symbols comment in front of named abstract object. | ||
[] > long-object-name | ||
# This is the default 64+ symbols comment in front of named abstract object. | ||
[] > long-object-name | ||
# This is the default 64+ symbols comment in front of named abstract object. | ||
[] > long-object-name | ||
# This is the default 64+ symbols comment in front of named abstract object. | ||
[] > long-object-name | ||
TRUE > @ | ||
reversed: | | ||
# This is the default 64+ symbols comment in front of named abstract object. | ||
[] > compiles-correctly-with-long-duplicate-names | ||
# This is the default 64+ symbols comment in front of named abstract object. | ||
[] > long-object-name | ||
# This is the default 64+ symbols comment in front of named abstract object. | ||
[] > long-object-name | ||
# This is the default 64+ symbols comment in front of named abstract object. | ||
[] > long-object-name | ||
# This is the default 64+ symbols comment in front of named abstract object. | ||
[] > long-object-name | ||
# This is the default 64+ symbols comment in front of named abstract object. | ||
[] > long-object-name | ||
TRUE > @ |