Properly implement top-level tests and fix one test using the wrong Block conversion property
Closes: https://github.com/damus-io/damus/pull/1528 Reviewed-by: William Casarin <jb55@jb55.com> Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
committed by
William Casarin
parent
6ee0be40e9
commit
f6f7d13f12
@@ -41,7 +41,7 @@ class ReplyTests: XCTestCase {
|
||||
let blocks = parse_post_blocks(content: content)
|
||||
|
||||
XCTAssertEqual(blocks.count, 1)
|
||||
XCTAssertEqual(blocks[0].asString, "what @")
|
||||
XCTAssertEqual(blocks[0].asText, "what @")
|
||||
}
|
||||
|
||||
func testHashtagsInQuote() {
|
||||
|
||||
Reference in New Issue
Block a user