Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions eo-parser/src/test/java/org/eolang/parser/XmirTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* @since 0.5
*/
final class XmirTest {

@ParameterizedTest
@ClasspathSource(value = "org/eolang/parser/print-packs/yaml", glob = "**.yaml")
void printsToEo(final String pack) throws IOException {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# SPDX-FileCopyrightText: Copyright (c) 2016-2025 Objectionary.com
# SPDX-License-Identifier: MIT
---
skip: true
sheets: [ ]
asserts:
- /program[not(errors)]
- /program/objects/o[@base='Q.org.eolang.number' and @name='zero']/o[@base='Q.org.eolang.bytes']/o[text()='00-00-00-00-00-00-00-00']
input: |
# No comments.
0 > zero
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# SPDX-FileCopyrightText: Copyright (c) 2016-2025 Objectionary.com
# SPDX-License-Identifier: MIT
---
skip: true
sheets: [ ]
asserts:
- /program[not(errors)]
- /program/objects/o[@base='Q.org.eolang.string' and @name='string-bytes']/o[@base='Q.org.eolang.bytes']/o[text()='62-79-74-65-73']
input: |
# No comments.
"bytes" > string-bytes
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# SPDX-FileCopyrightText: Copyright (c) 2016-2025 Objectionary.com
# SPDX-License-Identifier: MIT
---
# @todo #3807:60m XMIR format for bytes with data should be fixed.
# Current representation of org.eolang.bytes with data in XMIR is wrong,
# we miss one anonymous abstract object.
# When we add the missing anonymous abstract object, we should remove
# the `skip` property from this test.
# The same should be done for the test `bytes-in-number-with-anonymous-object.yaml`
# and `bytes-in-string-with-anonymous-object.yaml`.
skip: true
sheets: [ ]
asserts:
- /program[not(errors)]
- /program/objects/o[@base='Q.org.eolang.bytes' and @name='app']/o[@base='Q.org.eolang.bytes']/o[text()='00-00-00-00']
input: |
# No comments.
bytes > app
00-00-00-00