damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 8a230861bf15090bbd3b7b03a602619173366580
parent 13354b0eb5e88a03bb9371b8c79dbfef6b0866e0
Author: William Casarin <jb55@jb55.com>
Date:   Sun,  9 Apr 2023 22:45:21 -0700

remove broken test

Diffstat:
MdamusTests/NIP19Tests.swift | 8--------
1 file changed, 0 insertions(+), 8 deletions(-)

diff --git a/damusTests/NIP19Tests.swift b/damusTests/NIP19Tests.swift @@ -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 {