spec/swiftformat/swiftformat_spec.rb in danger-swiftformat-0.8.0 vs spec/swiftformat/swiftformat_spec.rb in danger-swiftformat-0.8.1
- old
+ new
@@ -93,10 +93,10 @@
stats: {
run_time: "0.01"
}
}
- expect(@sut.check_format(%w(.), nil)).to eq(output)
+ expect(@sut.check_format(%w(.), nil, nil)).to eq(output)
end
it "should support additional command line arguments" do
expect(@cmd).to receive(:run)
.with(%w(swiftformat . --self insert --indent tab --swiftversion 5 --lint --lenient))