mirror of
https://github.com/ruby/ruby.git
synced 2025-08-28 15:36:16 +02:00
test/ruby/test_string.rb: skip test_crypt for MJIT again
Partially reverting r65285. Actually this one is failing due to memory consumption on MJIT, so this seems not catching the bug of MJIT. test/ruby/test_io.rb: unify the skip message with it git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9fc84833a2
commit
584638a5f5
2 changed files with 2 additions and 1 deletions
|
@ -647,6 +647,7 @@ CODE
|
|||
end
|
||||
|
||||
def test_crypt
|
||||
skip 'assert_no_memory_leak may consider MJIT memory usage as leak' if RubyVM::MJIT.enabled?
|
||||
assert_equal(S('aaGUC/JkO9/Sc'), S("mypassword").crypt(S("aa")))
|
||||
assert_not_equal(S('aaGUC/JkO9/Sc'), S("mypassword").crypt(S("ab")))
|
||||
assert_raise(ArgumentError) {S("mypassword").crypt(S(""))}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue