Skip to content

Commit 8891e8b

Browse files
committed
Fix link test
1 parent 004cb2a commit 8891e8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/components/beta/link_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def test_renders_content_and_not_muted_link
1515
def test_renders_no_additional_whitespace
1616
result = render_inline(Primer::Beta::Link.new(href: "http://joe-jonas-shirtless.com")) { "content" }
1717

18-
assert_match(%r{^<a[^>]+><span[^>]+>content</span></a>$}, result.to_s)
18+
assert_match(%r{^<a[^>]+>content</a>$}, result.to_s)
1919
end
2020

2121
def test_renders_without_trailing_newline

0 commit comments

Comments
 (0)