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:
Grimless
2023-09-01 11:40:27 -04:00
committed by William Casarin
parent 6ee0be40e9
commit f6f7d13f12
2 changed files with 15 additions and 6 deletions

View File

@@ -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() {