Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#2516: Refactored the test #2518

Merged
merged 1 commit into from
Oct 6, 2023
Merged
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
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
Loading