mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-03-04 10:24:40 +01:00
Revert "The source tests are completely brok4n :("
This reverts commit a76ffb0143
.
This commit is contained in:
parent
d8ff82cf45
commit
96ba551836
1 changed files with 0 additions and 3 deletions
|
@ -9,7 +9,6 @@ import (
|
|||
"net/url"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"sort"
|
||||
"strconv"
|
||||
"strings"
|
||||
"testing"
|
||||
|
@ -380,8 +379,6 @@ func TestNewSource(t *testing.T) {
|
|||
} else {
|
||||
c.Nil(err, "Unexpected error")
|
||||
}
|
||||
sort.SliceStable(got.urls, func(i, j int) bool { return got.urls[i].String() < got.urls[j].String() })
|
||||
sort.SliceStable(e.Source.urls, func(i, j int) bool { return e.Source.urls[i].String() < e.Source.urls[j].String() })
|
||||
c.DeepEqual(got, e.Source, "Unexpected return")
|
||||
checkTestServer(c, d)
|
||||
checkSourceCache(c, e)
|
||||
|
|
Loading…
Add table
Reference in a new issue