Always stop at first whitespace
This commit is contained in:
committed by
William Casarin
parent
f69e0c660a
commit
bb9fc6f905
@@ -141,7 +141,7 @@ class damusTests: XCTestCase {
|
||||
}
|
||||
|
||||
func testNoParseUrlWithOnlyWhitespace() {
|
||||
let testString = "https:// "
|
||||
let testString = "https:// "
|
||||
let parsed = parse_mentions(content: testString, tags: [])
|
||||
|
||||
XCTAssertNotNil(parsed)
|
||||
|
||||
Reference in New Issue
Block a user