Skip to content

Commit cc943c1

Browse files
committed
Bootstrap error is passed through
1 parent abcf875 commit cc943c1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

spec/octocatalog-diff/integration/bootstrap_script_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@
5252
end
5353

5454
it 'should print error from bootstrap failing' do
55-
expect(@result[:exception].message).to match(/Catalog for 'to' \(.\) failed to compile with.+::BootstrapError/)
56-
expect(@result[:exception].message).to match(/OctocatalogDiff::Errors::BootstrapError/)
55+
expect(@result[:exception].class.to_s).to eq('OctocatalogDiff::Errors::BootstrapError')
56+
expect(@result[:exception].message).to match(/bootstrap failed for .+: Fail, stdout\nFail, stderr/)
5757
expect(@result[:exception].message).not_to match(/Could not find class (::)?test/)
5858
end
5959

0 commit comments

Comments
 (0)