(t *testing.T)
| 797 | } |
| 798 | |
| 799 | func TestCheck_NoConfig(t *testing.T) { |
| 800 | tree, err := parser.Parse(`any`) |
| 801 | require.NoError(t, err) |
| 802 | |
| 803 | _, err = checker.Check(tree, conf.CreateNew()) |
| 804 | assert.NoError(t, err) |
| 805 | } |
| 806 | |
| 807 | func TestCheck_AllowUndefinedVariables(t *testing.T) { |
| 808 | type Env struct { |