fix two tests.

This commit is contained in:
fiatjaf
2024-10-14 17:50:37 -03:00
parent 022d4ce598
commit f9271a6802
2 changed files with 5 additions and 25 deletions

View File

@ -38,9 +38,9 @@ func TestFetch(t *testing.T) {
expectedName string
expectedURL string
}{
{"wss://relay.nostr.bg", false, "", "wss://relay.nostr.bg"},
{"https://relay.nostr.bg", false, "", "wss://relay.nostr.bg"},
{"relay.nostr.bg", false, "", "wss://relay.nostr.bg"},
{"wss://nostr.wine", false, "", "wss://nostr.wine"},
{"https://nostr.wine", false, "", "wss://nostr.wine"},
{"nostr.wine", false, "", "wss://nostr.wine"},
{"wlenwqkeqwe.asjdaskd", true, "", "wss://wlenwqkeqwe.asjdaskd"},
}