Skip to content

Commit

Permalink
feat(#851): fix all the unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
volodya-lombrozo committed Nov 13, 2024
1 parent 8304b9d commit 4a025d5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ void createsDirectives() throws ImpossibleModificationException {
"",
"<?xml version='1.0' encoding='UTF-8'?>\n",
"<o>\n",
" <o base='jeo.int' name='version'><o base='bytes' data='bytes'>00 00 00 00 00 00 00 34</o></o>\n",
" <o base='jeo.int' name='access'><o base='bytes' data='bytes'>00 00 00 00 00 00 00 01</o></o>\n",
" <o base='jeo.string' name='signature'><o base='bytes' data='bytes'>6F 72 67 2F 65 6F 6C 61 6E 67 2F 53 6F 6D 65 43 6C 61 73 73</o></o>\n",
" <o base='jeo.string' name='supername'><o base='bytes' data='bytes'>6A 61 76 61 2F 6C 61 6E 67 2F 4F 62 6A 65 63 74</o></o>\n",
" <o base='jeo.int' name='version'><o base='org.eolang.bytes' data='bytes'>00 00 00 00 00 00 00 34</o></o>\n",
" <o base='jeo.int' name='access'><o base='org.eolang.bytes' data='bytes'>00 00 00 00 00 00 00 01</o></o>\n",
" <o base='jeo.string' name='signature'><o base='org.eolang.bytes' data='bytes'>6F 72 67 2F 65 6F 6C 61 6E 67 2F 53 6F 6D 65 43 6C 61 73 73</o></o>\n",
" <o base='jeo.string' name='supername'><o base='org.eolang.bytes' data='bytes'>6A 61 76 61 2F 6C 61 6E 67 2F 4F 62 6A 65 63 74</o></o>\n",
" <o base='org.eolang.seq1' name='interfaces'>\n",
" <o base='jeo.string'><o base='bytes' data='bytes'>6F 72 67 2F 65 6F 6C 61 6E 67 2F 53 6F 6D 65 49 6E 74 65 72 66 61 63 65</o></o>\n",
" <o base='jeo.string'><o base='org.eolang.bytes' data='bytes'>6F 72 67 2F 65 6F 6C 61 6E 67 2F 53 6F 6D 65 49 6E 74 65 72 66 61 63 65</o></o>\n",
" </o>\n",
"</o>\n"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ void createsWithSimpleConstructor() throws ImpossibleModificationException {
String.join(
"",
"<o abstract='' name='Neo'>",
"<o base='jeo.int' name='version'><o base='bytes' data='bytes'>00 00 00 00 00 00 00 34</o></o>",
"<o base='jeo.int' name='access'><o base='bytes' data='bytes'>00 00 00 00 00 00 00 00</o></o>",
"<o base='jeo.string' name='signature'><o base='bytes' data='bytes'/></o>",
"<o base='jeo.string' name='supername'><o base='bytes' data='bytes'/></o>",
"<o base='jeo.int' name='version'><o base='org.eolang.bytes' data='bytes'>00 00 00 00 00 00 00 34</o></o>",
"<o base='jeo.int' name='access'><o base='org.eolang.bytes' data='bytes'>00 00 00 00 00 00 00 00</o></o>",
"<o base='jeo.string' name='signature'><o base='org.eolang.bytes' data='bytes'/></o>",
"<o base='jeo.string' name='supername'><o base='org.eolang.bytes' data='bytes'/></o>",
"<o base='org.eolang.seq0' name='interfaces'/>",
"<o base='org.eolang.seq0' name='annotations'/>",
"<o base='org.eolang.seq0' name='attributes'/>",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ void convertsInteger() throws ImpossibleModificationException {
String.join(
"\n",
"<o base='jeo.int' name='access'>",
" <o base='bytes' data='bytes'>00 00 00 00 00 00 00 2A</o>",
" <o base='org.eolang.bytes' data='bytes'>00 00 00 00 00 00 00 2A</o>",
"</o>"
)
)
Expand All @@ -71,7 +71,7 @@ void convertsLabel() throws ImpossibleModificationException {
new Transformers.Node()
).xml(),
new SameXml(
"<o base='jeo.label'><o base='bytes' data='bytes'>73 6F 6D 65 2D 72 61 6E 64 6F 6D</o></o>"
"<o base='jeo.label'><o base='org.eolang.bytes' data='bytes'>73 6F 6D 65 2D 72 61 6E 64 6F 6D</o></o>"
)
);
}
Expand Down

0 comments on commit 4a025d5

Please sign in to comment.