From 947cf323078b1864e237011b53af5c1c95b61e80 Mon Sep 17 00:00:00 2001 From: Clinton Wolfe Date: Wed, 20 Feb 2019 20:44:25 -0500 Subject: [PATCH] Fix version test Signed-off-by: Clinton Wolfe --- test/functional/inspec_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/inspec_test.rb b/test/functional/inspec_test.rb index 4cad4b288..34d6a9124 100644 --- a/test/functional/inspec_test.rb +++ b/test/functional/inspec_test.rb @@ -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