(t *testing.T)
| 10 | ) |
| 11 | |
| 12 | func TestExprEmpty(t *testing.T) { |
| 13 | assert.True(t, Expr{}.Empty()) |
| 14 | assert.False(t, Expr{Allow: []string{"foo"}}.Empty()) |
| 15 | assert.False(t, Expr{Deny: []string{"foo"}}.Empty()) |
| 16 | } |
| 17 | |
| 18 | func TestExprParseScenarios(t *testing.T) { |
| 19 | tests := map[string]struct { |
nothing calls this directly
no test coverage detected
searching dependent graphs…