Skip to content

Commit

Permalink
Remove an unused field
Browse files Browse the repository at this point in the history
  • Loading branch information
boreq committed Nov 17, 2023
1 parent bab9eab commit 2ccfecc
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions service/domain/relays_extractor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,13 @@ func TestRelaysExtractor(t *testing.T) {
Name string

Kind domain.EventKind
Tags domain.EventTag
Content string

Result []domain.MaybeRelayAddress
}{
{
Name: "contacts_with_map",
Kind: domain.EventKindContacts,
//Tags: domain.NewEventTag([]string{
// "p, "
//}),
Name: "contacts_with_map",
Kind: domain.EventKindContacts,
Content: `{"wss://relay.damus.io":{"read":true,"write":true},"wss://nostr.bitcoiner.social":{"read":true,"write":true}}`,

Result: []domain.MaybeRelayAddress{
Expand All @@ -33,11 +29,8 @@ func TestRelaysExtractor(t *testing.T) {
},
},
{
Name: "contacts_with_slice",
Kind: domain.EventKindContacts,
//Tags: domain.NewEventTag([]string{
// "p, "
//}),
Name: "contacts_with_slice",
Kind: domain.EventKindContacts,
Content: `[["wss://nostr.wine",{"write":true,"read":true}],["wss://relay.current.fyi",{"read":true,"write":true}]]`,

Result: []domain.MaybeRelayAddress{
Expand Down

0 comments on commit 2ccfecc

Please sign in to comment.