Skip to content

Commit 40ad9a4

Browse files
eduncan911mxpv
authored andcommitted
Fix TOML inline table definition in Tests
1 parent 1ae7f09 commit 40ad9a4

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

pkg/config/config_test.go

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,16 @@ timeout = 15
4141
quality = "low"
4242
filters = { title = "regex for title here" }
4343
clean = { keep_last = 10 }
44-
custom = {
45-
cover_art = "http://img",
46-
cover_art_quality = "high",
47-
category = "TV",
48-
subcategories = ["1", "2"],
49-
explicit = true,
50-
lang = "en",
51-
author = "Mrs. Smith ([email protected])",
52-
ownerName = "Mrs. Smith",
53-
ownerEmail = "[email protected]"
54-
}
44+
[feeds.XYZ.custom]
45+
cover_art = "http://img"
46+
cover_art_quality = "high"
47+
category = "TV"
48+
subcategories = ["1", "2"]
49+
explicit = true
50+
lang = "en"
51+
author = "Mrs. Smith ([email protected])"
52+
ownerName = "Mrs. Smith"
53+
ownerEmail = "[email protected]"
5554
`
5655
path := setup(t, file)
5756
defer os.Remove(path)

0 commit comments

Comments
 (0)