Skip to content

Commit a9e7c21

Browse files
committed
Fix copy-pasted test name to reflect behavior
1 parent d4ec64b commit a9e7c21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/unit/puppet-lint/plugins/check_whitespace/trailing_whitespace_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,10 @@
106106
end
107107
end
108108

109-
context 'empty line with nothing but whitespace' do
109+
context 'empty lines with nothing but whitespace' do
110110
let(:code) { " \n " }
111111

112-
it 'only detects a single problem' do
112+
it 'detects problems with both empty lines' do
113113
expect(problems).to have(2).problem
114114
end
115115

0 commit comments

Comments
 (0)