We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bda005 commit 500e1adCopy full SHA for 500e1ad
test/ds/arf_test.rb
@@ -60,7 +60,7 @@ def test_create_arf_and_get_profile
60
def test_new_memory
61
create_arf
62
raw_data = File.read(REPORT)
63
- assert raw_data.length > 0
+ refute raw_data.empty?
64
arf = OpenSCAP::DS::Arf.new :content => raw_data, :path => REPORT
65
arf.destroy
66
end
test/source_test.rb
@@ -32,7 +32,7 @@ def test_source_new_ok
32
33
def test_source_new_memory
34
raw_data = File.read('../data/xccdf.xml')
35
36
s = OpenSCAP::Source.new(:content => raw_data, :path => '/mytestpath')
37
s.destroy
38
0 commit comments