forked from objectionary/eo
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
2ea361f
commit e7a0bd8
Showing
1 changed file
with
7 additions
and
9 deletions.
There are no files selected for viewing
16 changes: 7 additions & 9 deletions
16
eo-parser/src/test/resources/org/eolang/parser/packs/syntax/binded-reversed-application.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 |
---|---|---|
@@ -1,15 +1,13 @@ | ||
# @todo #2729:60min Enable the test when it's possible. Current syntax is not supported now. In our | ||
# EBNF such is understood as vertical application with 3 arguments. But all arguments in | ||
# application must be either all bound or not. But it should not be like that with reversed | ||
# application. Need to extend the grammar and make sure the test works. | ||
# Test UnphiMojoTest#convertsValidXmirAndParsableEO also does not work because of this. | ||
# Don't forget to remove the puzzle. | ||
skip: true | ||
xsls: [] | ||
tests: | ||
- /program/errors[count(*)=0] | ||
- //o[@base='.if' and o[@base='string' and @as='0']] | ||
- //o[@base='.if' and o[@base='string' and @as='1']] | ||
- //o[@base='.if' and o[@base='int' and @as='a']] | ||
- //o[@base='.if' and o[@base='int' and @as='b']] | ||
eo: | | ||
if. > condition | ||
if. > first | ||
TRUE | ||
"TRUE":0 | ||
"FALSE":1 | ||
"FALSE":1 | ||
if. FALSE 1:a 2:b > second |