Skip to content

Commit 5bee2bc

Browse files
committed
Fix wording on some test cases
1 parent 0e8da67 commit 5bee2bc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/puppet-lint/plugins/check_whitespace/space_before_arrow.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# bar => 'baz',
2323
# }
2424
#
25-
# is handled by the "arrow_alignment") plugin.
25+
# is handled by the "arrow_alignment" plugin.
2626

2727
PuppetLint.new_check(:space_before_arrow) do
2828
def check

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
end
5959

6060
context 'with fix disabled' do
61-
it 'does not detect any problems' do
61+
it 'detects extra space before arrow' do
6262
expect(problems.size).to eq(1)
6363
end
6464

@@ -96,7 +96,7 @@
9696
end
9797

9898
context 'with fix disabled' do
99-
it 'does not detect any problems' do
99+
it 'detects extra space before arrow' do
100100
expect(problems.size).to eq(1)
101101
end
102102

0 commit comments

Comments
 (0)