diff --git a/xurls_test.go b/xurls_test.go
index <HASH>..<HASH> 100644
--- a/xurls_test.go
+++ b/xurls_test.go
@@ -103,6 +103,7 @@ var constantTestCases = []testCase{
 	{`http://✪foo.bar/pa✪th`, `http://✪foo.bar/pa✪th`},
 	{`✪http://✪foo.bar/pa✪th✪`, `http://✪foo.bar/pa✪th`},
 	{`what is http://foo.com?`, `http://foo.com`},
+	{`what is http://foo.com/path?`, `http://foo.com/path`},
 	{`the http://foo.com!`, `http://foo.com`},
 	{`https://test.foo.bar/path?a=b`, `https://test.foo.bar/path?a=b`},
 	{`ftp://user@foo.bar`, `ftp://user@foo.bar`},
Add another test with ending '?'