mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
feat(macros): add Artists (#1493)
This commit is contained in:
parent
f1b42146c1
commit
b181231b12
2 changed files with 11 additions and 0 deletions
|
@ -254,6 +254,15 @@ func TestMacros_Parse(t *testing.T) {
|
|||
want: "Tags: country, rock",
|
||||
wantErr: false,
|
||||
},
|
||||
{
|
||||
name: "test_artists",
|
||||
release: Release{
|
||||
Artists: "Jon Boy",
|
||||
},
|
||||
args: args{text: "Artists: {{ .Artists }}"},
|
||||
want: "Artists: Jon Boy",
|
||||
wantErr: false,
|
||||
},
|
||||
}
|
||||
for _, tt := range tests {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue