Skip to content
Snippets Groups Projects
Verified Commit 10ea21ea authored by Maytham Alsudany's avatar Maytham Alsudany
Browse files

Skip publicsuffix tests

Closes: #1089192
parent e73a7947
No related branches found
No related tags found
No related merge requests found
publicsuffix.patch
skip-publicsuffix-tests.patch
From: Maytham Alsudany <maytha8thedev@gmail.com>
Forwarded: no
Description: skip publicsuffix tests
The tests are hardcoded but rely on changing data.
--- a/publicsuffix/list_test.go
+++ b/publicsuffix/list_test.go
@@ -295,6 +295,7 @@
}
func TestPublicSuffix(t *testing.T) {
+ t.SkipNow()
for _, tc := range publicSuffixTestCases {
gotPS, gotICANN := PublicSuffix(tc.domain)
if gotPS != tc.wantPS || gotICANN != tc.wantICANN {
@@ -304,6 +305,7 @@
}
func TestSlowPublicSuffix(t *testing.T) {
+ t.SkipNow()
for _, tc := range publicSuffixTestCases {
gotPS, gotICANN := slowPublicSuffix(tc.domain)
if gotPS != tc.wantPS || gotICANN != tc.wantICANN {
@@ -313,6 +315,7 @@
}
func TestNumICANNRules(t *testing.T) {
+ t.SkipNow()
if numICANNRules <= 0 {
t.Fatal("no ICANN rules")
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment