Pull request 2333: fix-test
Some checks failed
build / test (macOS-latest) (push) Has been cancelled
build / test (ubuntu-latest) (push) Has been cancelled
build / test (windows-latest) (push) Has been cancelled
build / build-release (push) Has been cancelled
build / notify (push) Has been cancelled
lint / go-lint (push) Has been cancelled
lint / eslint (push) Has been cancelled
lint / notify (push) Has been cancelled

Merge in DNS/adguard-home from fix-test to master

Squashed commit of the following:

commit cddaed40273e81677eec33e2ededfd4556c5b99f
Author: Stanislav Chzhen <s.chzhen@adguard.com>
Date:   Mon Jan 20 18:33:43 2025 +0300

    filtering: fix test
This commit is contained in:
Stanislav Chzhen 2025-01-20 18:57:51 +03:00
parent dfa28af907
commit 6633ad6304

View File

@ -18,7 +18,6 @@ func TestFilter_Refresh(t *testing.T) {
t.Parallel()
cacheDir := t.TempDir()
uid := rulelist.MustNewUID()
const fltData = testRuleTextTitle + testRuleTextBlocked
fileURL, srvURL := newFilterLocations(t, cacheDir, fltData, fltData)
@ -54,6 +53,7 @@ func TestFilter_Refresh(t *testing.T) {
t.Run(tc.name, func(t *testing.T) {
t.Parallel()
uid := rulelist.MustNewUID()
f, err := rulelist.NewFilter(&rulelist.FilterConfig{
URL: tc.url,
Name: tc.name,