1
0
mirror of git://jb55.com/damus synced 2024-09-18 19:23:49 +00:00

remove broken test

This commit is contained in:
William Casarin 2023-04-09 22:45:21 -07:00
parent 13354b0eb5
commit 8a230861bf

View File

@ -42,14 +42,6 @@ final class NIP19Tests: XCTestCase {
XCTAssertEqual(res[1], .mention(expected_mention))
}
func test_parse_nevent() throws {
let res = parse_mentions(content: " nostr:nprofile", tags: [])
XCTAssertEqual(res.count, 2)
let expected_ref = ReferencedId(ref_id: "8543e7d0bafb28f33c495f2198454bd62c7369c86d72d77704cad2674e0a92c9", relay_id: nil, key: "p")
let expected_mention = Mention(index: nil, type: .pubkey, ref: expected_ref)
XCTAssertEqual(res[1], .mention(expected_mention))
}
func testPerformanceExample() throws {
// This is an example of a performance test case.
self.measure {