feat(macros): add FilterID (#1416)

This commit is contained in:
Brandon Beck 2024-02-20 09:35:00 -06:00 committed by GitHub
parent c97becb4e3
commit 3c40c7bba8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 0 deletions

View file

@ -236,6 +236,15 @@ func TestMacros_Parse(t *testing.T) {
want: "Type: episode",
wantErr: false,
},
{
name: "test_filter_id",
release: Release{
FilterID: 1,
},
args: args{text: "FilterID: {{ .FilterID }}"},
want: "FilterID: 1",
wantErr: false,
},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {