test: Wrote snapshot tests for all Sonarr UI
This commit is contained in:
1 parent
e0fcbc71e1
commit
0532d59746
257 files changed
+8089
-1029
No files matched your search
@@ -0,0 +1,9 @@
|
||||
#[macro_export]
|
||||
macro_rules! sort_option {
|
||||
($field:ident) => {
|
||||
SortOption {
|
||||
name: "Something",
|
||||
cmp_fn: Some(|a, b| a.$field.cmp(&b.$field)),
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user