Always stop at first whitespace

This commit is contained in:
Gert Goet authored and William Casarin committed 2023-02-13 10:03:17 -08:00
1 parent f69e0c660a
commit bb9fc6f905
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -141,7 +141,7 @@ class damusTests: XCTestCase {
}
func testNoParseUrlWithOnlyWhitespace() {
let testString = "https:// "
let testString = "https:// "
let parsed = parse_mentions(content: testString, tags: [])
XCTAssertNotNil(parsed)