Compare commits
1 Commits
aa59cacb60
...
585d71daff
Author | SHA1 | Date |
---|---|---|
p4u1 | 585d71daff |
|
@ -120,7 +120,7 @@ func TestFilters(t *testing.T) {
|
|||
app, err := config.NewApp(config.AppEnv{
|
||||
"DOMAIN": "test.example.com",
|
||||
"RECIPE": "test-recipe",
|
||||
}, "filtertest", config.AppFile{
|
||||
}, "test_example_com", config.AppFile{
|
||||
Path: "./testdir/filtertest.end",
|
||||
Server: "local",
|
||||
})
|
||||
|
@ -134,7 +134,7 @@ func TestFilters(t *testing.T) {
|
|||
}
|
||||
compareFilter(t, f, map[string]map[string]bool{
|
||||
"name": {
|
||||
"filtertest": true,
|
||||
"test_example_com": true,
|
||||
},
|
||||
})
|
||||
|
||||
|
@ -144,7 +144,7 @@ func TestFilters(t *testing.T) {
|
|||
}
|
||||
compareFilter(t, f2, map[string]map[string]bool{
|
||||
"name": {
|
||||
"^filtertest": true,
|
||||
"^test_example_com": true,
|
||||
},
|
||||
})
|
||||
|
||||
|
@ -154,8 +154,8 @@ func TestFilters(t *testing.T) {
|
|||
}
|
||||
compareFilter(t, f3, map[string]map[string]bool{
|
||||
"name": {
|
||||
"filtertest_bar": true,
|
||||
"filtertest_foo": true,
|
||||
"test_example_com_bar": true,
|
||||
"test_example_com_foo": true,
|
||||
},
|
||||
})
|
||||
|
||||
|
@ -165,8 +165,8 @@ func TestFilters(t *testing.T) {
|
|||
}
|
||||
compareFilter(t, f4, map[string]map[string]bool{
|
||||
"name": {
|
||||
"^filtertest_bar": true,
|
||||
"^filtertest_foo": true,
|
||||
"^test_example_com_bar": true,
|
||||
"^test_example_com_foo": true,
|
||||
},
|
||||
})
|
||||
|
||||
|
@ -176,7 +176,7 @@ func TestFilters(t *testing.T) {
|
|||
}
|
||||
compareFilter(t, f5, map[string]map[string]bool{
|
||||
"name": {
|
||||
"filtertest_foo": true,
|
||||
"test_example_com_foo": true,
|
||||
},
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue