spec/swiftformat/swiftformat_spec.rb in danger-swiftformat-0.3.6 vs spec/swiftformat/swiftformat_spec.rb in danger-swiftformat-0.4.0
- old
+ new
@@ -79,10 +79,10 @@
it "should raise an error if the output is empty" do
expect(@cmd).to receive(:run)
.with(%w(swiftformat . --dryrun --verbose))
.and_return("")
- expect { @sut.check_format(%w(.)) }.to raise_error("error running swiftformat: empty output")
+ expect { @sut.check_format(%w(.)) }.to raise_error("Error running SwiftFormat: Empty output.")
end
it "should support nil additional command line arguments" do
expect(@cmd).to receive(:run)
.with(%w(swiftformat . --dryrun --verbose))