overrides win
This commit is contained in:
@@ -168,10 +168,11 @@ func TestRecursive(t *testing.T) {
|
||||
}`)
|
||||
write("./showA/file.a")
|
||||
|
||||
// parse files
|
||||
// parse files and const wins
|
||||
write("./showB/.show-ingestion.yaml", `{
|
||||
"o": "`+outd+`/B_{{.Title}}_{{.Season}}_{{.Episode}}",
|
||||
"p": []
|
||||
"p": [],
|
||||
"c": {"title": "TITLE"}
|
||||
}`)
|
||||
write("./showB/title S01E02.b")
|
||||
|
||||
@@ -198,7 +199,7 @@ func TestRecursive(t *testing.T) {
|
||||
}
|
||||
|
||||
exists(t, path.Join(outd, "A", "A_SAEA.a"))
|
||||
exists(t, path.Join(outd, "B_title_01_02", "title_S01E02.b"))
|
||||
exists(t, path.Join(outd, "B_TITLE_01_02", "TITLE_S01E02.b"))
|
||||
exists(t, path.Join(outd, "C", "t_SsEe.c"))
|
||||
notExists(t, path.Join(outd, "D", "title_S02E04.d"))
|
||||
notExists(t, path.Join(outd, "title_S03E06.e"))
|
||||
|
||||
Reference in New Issue
Block a user