Skip to content

Commit 906ce3c

Browse files
refactor: move TestScope to be before subsets
1 parent d04e532 commit 906ce3c

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

moz-webgpu-cts/src/shared.rs

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -667,6 +667,12 @@ pub(crate) enum Browser {
667667
Servo,
668668
}
669669

670+
#[derive(Clone, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)]
671+
pub(crate) enum TestScope {
672+
Firefox(FirefoxTestScope),
673+
Servo(ServoTestScope),
674+
}
675+
670676
#[derive(Clone, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)]
671677
pub(crate) enum FirefoxTestScope {
672678
/// A public test available at some point in the history of [WPT upstream]. Note that while
@@ -695,13 +701,6 @@ impl From<ServoTestScope> for TestScope {
695701
}
696702
}
697703

698-
/// Symbolically represents a file root from which tests and metadata are based.
699-
#[derive(Clone, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)]
700-
pub(crate) enum TestScope {
701-
Firefox(FirefoxTestScope),
702-
Servo(ServoTestScope),
703-
}
704-
705704
#[test]
706705
fn parse_test_path() {
707706
assert_eq!(

0 commit comments

Comments
 (0)