mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-01-13 02:22:48 +01:00
Simplify
This commit is contained in:
parent
4324a09fc9
commit
0f7bd23b8a
@ -154,7 +154,7 @@ func generateFixtureState(t *testing.T, d *SourceTestData, suffix, file string,
|
||||
}
|
||||
|
||||
func loadFixtures(t *testing.T, d *SourceTestData) {
|
||||
d.fixtures = map[SourceTestState]map[string]SourceFixture{TestStateCorrect: map[string]SourceFixture{}}
|
||||
d.fixtures = map[SourceTestState]map[string]SourceFixture{TestStateCorrect: {}}
|
||||
for _, source := range d.sources {
|
||||
for _, suffix := range [...]string{"", ".minisig"} {
|
||||
file := source + suffix
|
||||
|
Loading…
Reference in New Issue
Block a user