mirror of
https://github.com/ruby/ruby.git
synced 2025-08-28 15:36:16 +02:00
test/lib/test/unit/assertions.rb: skip memory leak check
for all test cases on MJIT. In addition to those 2 tests, TestAutoload#test_no_leak newly failed and most of assert_no_memory_leak usages are likely to randomly fail. Let me just skip all of them but let's revisit this to check it properly later. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
58ec197eef
commit
1d6c1e27d4
3 changed files with 3 additions and 2 deletions
|
@ -647,7 +647,6 @@ 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