Skip to content

Commit

Permalink
#2516: Refactored the test
Browse files Browse the repository at this point in the history
  • Loading branch information
levBagryansky committed Oct 2, 2023
1 parent 7957350 commit 04d8883
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions eo-runtime/src/test/eo/org/eolang/rust-tests.eo
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,10 @@
nop
"Rust insert failed in Φ.org.eolang.rust-put-not-fails.put.α0:176:4 with message 'put failed'; caused by Phi object with vertex -1 was not indexed."

# @todo #2498:30min Enable the tests. After removing assert-that from eo-runtime
# $.string-starts-with it not allowed anymore. Need to refactor the next tests and enable them:
# - rust-bind-not-fails, - rust-error
[] > rust-bind-not-fails
1 > a
2 > b
"Rust insert failed" > to-check!
QQ.rust > insert
"""
use eo_env::EOEnv;
Expand All @@ -219,16 +217,17 @@
"""
*
[]
try > res
try > res!
[]
insert > @
[e]
e > @
nop
nop > @
eq.
res
"Rust insert failed"
eq. > @
res.slice
0
to-check.length
to-check

[] > rust-copy-not-fails
123 > a
Expand Down

0 comments on commit 04d8883

Please sign in to comment.