Skip to content

Commit

Permalink
Fill my intentionally empty block for RuboCop
Browse files Browse the repository at this point in the history
An explicit nil tests just as well while satisfying the linter.
  • Loading branch information
neall committed Jul 29, 2022
1 parent 0a5cb86 commit 88bb2d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/components/clipboard_copy_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ def test_renders_simple
def test_requires_aria_label_when_empty
assert_raises(ArgumentError) do
render_inline Primer::ClipboardCopy.new(value: "my-branch-name") do
nil
end
end
end
Expand Down

0 comments on commit 88bb2d4

Please sign in to comment.