Skip to content

Commit

Permalink
#3513: revert
Browse files Browse the repository at this point in the history
yegor256 committed Nov 19, 2024

Verified

This commit was signed with the committer’s verified signature.
yegor256 Yegor Bugayenko
1 parent 91aac96 commit 4cd688e
Showing 59 changed files with 898 additions and 898 deletions.
Original file line number Diff line number Diff line change
@@ -68,7 +68,7 @@ void optimizesSimpleObject(@Mktmp final Path temp) throws Exception {
f -> {
f.clean();
f.files().file("src/main/eo/foo.eo").write(
"# This is a unit-test for the corresponding EO object.\n[] > foo\n".getBytes()
"# Test.\n[] > foo\n".getBytes()
);
f.build()
.plugins()
Original file line number Diff line number Diff line change
@@ -59,7 +59,7 @@ void printsSimpleObject(@Mktmp final Path temp) throws Exception {
f -> {
f.clean();
f.files().file("src/main/eo/foo.eo").write(
"# This is a unit-test for the corresponding EO object.\n[] > foo\n".getBytes()
"# Test.\n[] > foo\n".getBytes()
);
f.build()
.plugins()
Original file line number Diff line number Diff line change
@@ -70,7 +70,7 @@ void convertsSimpleObjectToGraph(@Mktmp final Path temp) throws Exception {
f -> {
f.clean();
f.files().file("src/main/eo/foo.eo").write(
"# This is a unit-test for the corresponding EO object.\n[] > foo\n".getBytes()
"# Test.\n[] > foo\n".getBytes()
);
f.build()
.plugins()
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ eo: |
+tests
+version 0.0.0
# This is a unit-test for the corresponding EO object.
# Test.
[] > compares-two-bools
eq. > @
true
Original file line number Diff line number Diff line change
@@ -49,36 +49,36 @@ eo: |
+package org.eolang
+version 0.0.0
# This is a unit-test for the corresponding EO object.
# Test.
[] > compares-two-bools
eq. > @
true
true
# This is a unit-test for the corresponding EO object.
# Test.
[] > true-as-bool
true.as-bool > @
# This is a unit-test for the corresponding EO object.
# Test.
[] > compares-two-different-types
not. > @
eq.
true
42
# This is a unit-test for the corresponding EO object.
# Test.
[] > compares-bool-to-bytes
and. > @
true.eq 01-
false.eq 00-
# This is a unit-test for the corresponding EO object.
# Test.
[] > compares-bool-to-string
and. > @
true.eq "\001"
false.eq "\000"
# This is a unit-test for the corresponding EO object.
# Test.
[] > compares-bool-to-bytes-reverse
and. > @
01-.as-bytes.eq true
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@
# SOFTWARE.
---
eo: |
# This is a unit-test for the corresponding EO object.
# Test.
[] > compiles-correctly-with-long-duplicate-names
# Long object 1.
[] > long-object-name
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@
# SOFTWARE.
---
origin: |
# This is a unit-test for the corresponding EO object.
# Test.
[] > compares-bool-to-bytes
and. > @
true.eq 01-
2 changes: 1 addition & 1 deletion eo-runtime/src/test/eo/org/eolang/as-phi-tests.eo
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@
+package org.eolang
+version 0.0.0

# This is a unit-test for the corresponding EO object.
# Test.
[] > prints-itself
gt. > @
length.
20 changes: 10 additions & 10 deletions eo-runtime/src/test/eo/org/eolang/bool-tests.eo
Original file line number Diff line number Diff line change
@@ -26,55 +26,55 @@
+package org.eolang
+version 0.0.0

# This is a unit-test for the corresponding EO object.
# Test.
[] > compares-two-bools
eq. > @
true
true

# This is a unit-test for the corresponding EO object.
# Test.
[] > true-as-bool
true.as-bool > @

# This is a unit-test for the corresponding EO object.
# Test.
[] > compares-two-different-types
not. > @
eq.
true
42

# This is a unit-test for the corresponding EO object.
# Test.
[] > compares-bool-to-bytes
and. > @
true.eq 01-
false.eq 00-

# This is a unit-test for the corresponding EO object.
# Test.
[] > compares-bool-to-string
and. > @
true.eq "\001"
false.eq "\000"

# This is a unit-test for the corresponding EO object.
# Test.
[] > compares-bool-to-bytes-reverse
and. > @
01-.as-bytes.eq true
00-.as-bytes.eq false

# This is a unit-test for the corresponding EO object.
# Test.
[] > true-not-is-false
eq. > @
true.not
false

# This is a unit-test for the corresponding EO object.
# Test.
[] > true-and-false-is-false
not. > @
and.
true
false

# This is a unit-test for the corresponding EO object.
# Test.
[] > forks-on-true-condition
eq. > @
if.
@@ -83,7 +83,7 @@
42
123

# This is a unit-test for the corresponding EO object.
# Test.
[] > forks-on-false-condition
eq. > @
if.
Loading

0 comments on commit 4cd688e

Please sign in to comment.