Skip to content

Commit acea172

Browse files
committed
Fix an oversight in specs
1 parent b88ff75 commit acea172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/rubocop/cop/style/guard_clause_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def func
132132
end
133133
134134
def func
135-
work if something
135+
work unless something
136136
end
137137
RUBY
138138
end

0 commit comments

Comments
 (0)