Skip to content

Commit fc627b7

Browse files
author
Kevin Paulisse
committed
Update integration test with proper error regexp
1 parent 844b9da commit fc627b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/octocatalog-diff/integration/convert_file_resources_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
expect(result[:exitcode]).to eq(-1)
119119
expect(result[:exception]).to be_a_kind_of(OctocatalogDiff::CatalogDiff::Cli::Catalogs::CatalogError)
120120
expect(result[:exception].message).to match(/failed to compile with Errno::ENOENT/)
121-
expect(result[:exception].message).to match(%r{Unable to find 'puppet:///modules/test/foo-new' at})
121+
expect(result[:exception].message).to match(%r{Unable to resolve 'puppet:///modules/test/foo-new'})
122122
end
123123
end
124124
end

0 commit comments

Comments
 (0)