commit d50b1194139c10a584a5dbe8c9c47a0672b011c6
parent 0a97d003e92105b1700b93af3aaa3028a0f7f867
Author: Alexey Yerin <yyp@disroot.org>
Date: Wed, 30 Aug 2023 17:01:49 +0300
net::uri: Remove duplicate test
Signed-off-by: Alexey Yerin <yyp@disroot.org>
Diffstat:
1 file changed, 0 insertions(+), 15 deletions(-)
diff --git a/net/uri/+test.ha b/net/uri/+test.ha
@@ -91,21 +91,6 @@ use net::ip;
)!;
};
-@test fn edge_cases() void = {
- const expected = "https://en.wiktionary.org/wiki/%E3%81%8A%E3%81%AF%E3%82%88%E3%81%86#Japanese";
- const u = uri {
- scheme = "https",
- host = "en.wiktionary.org",
- path = "wiki/おはよう",
- fragment = "Japanese",
- ...
- };
- let s = string(&u);
- defer free(s);
-
- assert_str(s, expected);
-};
-
@test fn invalid() void = {
// Scheme
assert(parse(":") is invalid);