Fix ascii shrug guy

Changelog-Fixed: Fix ascii shrug guy
Closes: #238
This commit is contained in:
Lionello Lunesu authored and William Casarin committed 2023-01-03 23:05:41 -08:00
1 parent 39fa973a80
commit e9380c3821
3 files changed
+14 -3

No files matched your search

+10
View File
@@ -62,4 +62,14 @@ class MarkdownTests: XCTestCase {
XCTAssertEqual(md, expected)
}
func test_parse_shrug() throws {
let md = Markdown.parse(content: "¯\\_(ツ)_/¯")
XCTAssertEqual(NSMutableAttributedString(md).string, "¯\\_(ツ)_/¯")
}
func test_parse_backslash() throws {
let md = Markdown.parse(content: "\\a")
XCTAssertEqual(NSMutableAttributedString(md).string, "\\a")
}
}