mirror of
https://github.com/inspec/inspec
synced 2024-11-26 22:50:36 +00:00
Fix version test
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
parent
491ec001a2
commit
947cf32307
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ describe 'command tests' do
|
|||
out.stderr.must_equal ''
|
||||
out.exit_status.must_equal 0
|
||||
# Tolerate working on an out of date branch
|
||||
output = out.stdout.split("\n").reject { |l| l.start_with?('Your version of InSpec is out of date!') }.join("\n")
|
||||
output = out.stdout.split("\n").reject { |l| l.start_with?('Your version of InSpec is out of date!') }.join("\n") + "\n"
|
||||
output.must_equal Inspec::VERSION + "\n"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue