1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-05 14:57:30 +01:00

Yes, I realize I broke the unit test, but thats because I need to fix set

git-svn-id: file:///home/svn/incoming/trunk@2605 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
Spoon M 2005-06-09 16:14:12 +00:00
parent 0b289dbe6d
commit 32e2e0503e

View File

@ -12,7 +12,7 @@ class Rex::Encoders::XorDWord::UnitTest < ::Test::Unit::TestCase
def test_encode
2000.times {
buffer = ""
rand(100).times { buffer << 0x90 }
rand(1000).times { buffer << 0x90 }
assert_equal(nil, MachineTest.testraw(Klass.encode(buffer + "\xcc")))
}
end