1
0
mirror of https://github.com/juanfont/headscale.git synced 2025-07-27 13:48:02 +02:00

Fix nil vs. empty list issue in v2 policy test

This commit is contained in:
Aras Ergus 2025-04-07 16:50:45 +02:00
parent c98692a26b
commit 7de444f5e5
No known key found for this signature in database
GPG Key ID: 06334F046D945E11

View File

@ -41,7 +41,7 @@ func TestPolicyManager(t *testing.T) {
pol: "{}",
nodes: types.Nodes{},
wantFilter: nil,
wantMatchers: nil,
wantMatchers: []matcher.Match{},
},
}