From 76b0923033f7c8f83602dfa928bc3fc7ae53dd7a Mon Sep 17 00:00:00 2001 From: mint Date: Sun, 9 Oct 2022 08:17:44 +0000 Subject: [PATCH] Fix tests for added domains This fixes tests from previous commit by replacing i2p/loki with random but still valid Handshake domains (porkbun.com/handshake) --- test/parser_test.exs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/parser_test.exs b/test/parser_test.exs index aafecb5..e9cf0f8 100644 --- a/test/parser_test.exs +++ b/test/parser_test.exs @@ -301,16 +301,16 @@ defmodule Linkify.ParserTest do do: [ "http://whatever.null/", "https://example.o/index.html", - "http://pleroma.i2p/test", - "http://misskey.loki" + "http://pleroma.000abv/test", + "http://misskey.wwwroot" ] def custom_tld_non_scheme_urls, do: [ "whatever.null/", "example.o/index.html", - "pleroma.i2p/test", - "misskey.loki" + "pleroma.000abv/test", + "misskey.wwwroot" ] def valid_emails, do: ["rms@ai.mit.edu", "vc@cock.li", "guardian@33y6fjyhs3phzfjj.onion"]