mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-10-28 10:51:44 +01:00 
			
		
		
		
	Fix nil vs. empty list issue in v2 policy test
This commit is contained in:
		
							parent
							
								
									c98692a26b
								
							
						
					
					
						commit
						7de444f5e5
					
				@ -41,7 +41,7 @@ func TestPolicyManager(t *testing.T) {
 | 
			
		||||
			pol:          "{}",
 | 
			
		||||
			nodes:        types.Nodes{},
 | 
			
		||||
			wantFilter:   nil,
 | 
			
		||||
			wantMatchers: nil,
 | 
			
		||||
			wantMatchers: []matcher.Match{},
 | 
			
		||||
		},
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user