We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 004cb2a commit 8891e8bCopy full SHA for 8891e8b
test/components/beta/link_test.rb
@@ -15,7 +15,7 @@ def test_renders_content_and_not_muted_link
15
def test_renders_no_additional_whitespace
16
result = render_inline(Primer::Beta::Link.new(href: "http://joe-jonas-shirtless.com")) { "content" }
17
18
- assert_match(%r{^<a[^>]+><span[^>]+>content</span></a>$}, result.to_s)
+ assert_match(%r{^<a[^>]+>content</a>$}, result.to_s)
19
end
20
21
def test_renders_without_trailing_newline
0 commit comments