Skip to content

Commit 280ee26

Browse files
committed
Add spec for ensuring is_eicar_corrupted? is false.
1 parent 3b8067e commit 280ee26

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

spec/lib/msf/util/exe_spec.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@
2424
end
2525
end
2626

27+
describe '.is_eicar_corrupted?' do
28+
it 'returns true' do
29+
expect(described_class.is_eicar_corrupted?).to be_false
30+
end
31+
end
32+
2733
describe '.to_executable_fmt' do
2834
it "should output nil when given a bogus format" do
2935
bin = subject.to_executable_fmt($framework, "", "", "", "does not exist", {})

0 commit comments

Comments
 (0)