Skip to content

Commit d04ab0b

Browse files
committed
fix ci
1 parent 874763c commit d04ab0b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spec/bashly/libraries/render_mandoc_spec.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
RenderContext.new source: source, target: target, show: show
44
end
55

6+
let(:leeway) { ENV['CI'] ? 10 : 0 }
7+
68
let(:source) { 'lib/bashly/libraries/render/mandoc' }
79
let(:target) { 'spec/tmp' }
810
let(:show) { nil }
@@ -27,6 +29,7 @@
2729

2830
expect(`man "#{target}/download.1" | col -bx`)
2931
.to match_approval('libraries/render/mandoc/render-1-download.1')
32+
.diff(leeway)
3033
end
3134
end
3235

0 commit comments

Comments
 (0)