From 8891e8b76f5903856f4881a0738d017b95dd4422 Mon Sep 17 00:00:00 2001 From: Jon Rohan Date: Wed, 4 Dec 2024 18:42:45 +0000 Subject: [PATCH] Fix link test --- test/components/beta/link_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/components/beta/link_test.rb b/test/components/beta/link_test.rb index 66d230347c..b59727fd25 100644 --- a/test/components/beta/link_test.rb +++ b/test/components/beta/link_test.rb @@ -15,7 +15,7 @@ def test_renders_content_and_not_muted_link def test_renders_no_additional_whitespace result = render_inline(Primer::Beta::Link.new(href: "http://joe-jonas-shirtless.com")) { "content" } - assert_match(%r{^]+>]+>content$}, result.to_s) + assert_match(%r{^]+>content$}, result.to_s) end def test_renders_without_trailing_newline