We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 843fba3 commit 5545582Copy full SHA for 5545582
src/tools/tidy/src/features/tests.rs
@@ -2,8 +2,8 @@ use super::*;
2
3
#[test]
4
fn test_find_attr_val() {
5
- let s = r#"#[unstable(feature = "checked_duration_since", issue = "58402")]"#;
6
- assert_eq!(find_attr_val(s, "feature"), Some("checked_duration_since"));
+ let s = r#"#[unstable(feature = "tidy_test_never_used_anywhere_else", issue = "58402")]"#;
+ assert_eq!(find_attr_val(s, "feature"), Some("tidy_test_never_used_anywhere_else"));
7
assert_eq!(find_attr_val(s, "issue"), Some("58402"));
8
assert_eq!(find_attr_val(s, "since"), None);
9
}
0 commit comments