summaryrefslogtreecommitdiff
path: root/spec/acceptance/parseyaml_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/acceptance/parseyaml_spec.rb')
-rwxr-xr-xspec/acceptance/parseyaml_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/acceptance/parseyaml_spec.rb b/spec/acceptance/parseyaml_spec.rb
index 4b4bf3d..5819837 100755
--- a/spec/acceptance/parseyaml_spec.rb
+++ b/spec/acceptance/parseyaml_spec.rb
@@ -26,7 +26,7 @@ describe 'parseyaml function', :unless => UNSUPPORTED_PLATFORMS.include?(fact('o
EOS
apply_manifest(pp, :expect_failures => true) do |r|
- expect(r.stderr).to match(/syntax error/)
+ expect(r.stderr).to match(/(syntax error|did not find expected key)/)
end
end