Skip to content

Commit 868855d

Browse files
authored
Update avoid_both_disabled_and_aria_disabled_test.rb
1 parent e65bcd0 commit 868855d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/linters/accessibility/avoid_both_disabled_and_aria_disabled_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def test_adds_extra_offense_to_add_counter_comment_if_counter_config_enabled
5050
def test_does_not_raise_when_ignore_comment_with_correct_count_if_counter_enabled
5151
@file = <<~ERB
5252
<%# erblint:counter GitHub::Accessibility::AvoidBothDisabledAndAriaDisabledCounter 1 %>
53-
<button disabled aria-disabled="true">Some text</span>
53+
<button disabled aria-disabled="true">Some text</button>
5454
ERB
5555
@linter.config.counter_enabled = true
5656
@linter.run(processed_source)

0 commit comments

Comments
 (0)