Skip to content

Commit 1fc310b

Browse files
committed
Update test
1 parent 9495d7c commit 1fc310b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/linters/accessibility/no_title_attribute_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def test_warns_if_element_sets_title
1313

1414
assert_equal(1, @linter.offenses.count)
1515
error_messages = @linter.offenses.map(&:message).sort
16-
assert_match(/The title attribute should never be used unless for an `<iframe>` as it is inaccessible for several groups of users./, error_messages.last)
16+
assert_match(/The title attribute should never be used as it is inaccessible for several groups of users./, error_messages.last)
1717
end
1818

1919
def test_does_not_warn_if_iframe_sets_title

0 commit comments

Comments
 (0)