Skip to content

Commit a03df14

Browse files
committed
Updated tests for cargo dev
1 parent 05c2fa2 commit a03df14

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

clippy_dev/src/update_lints.rs

+3
Original file line numberDiff line numberDiff line change
@@ -497,20 +497,23 @@ fn test_parse_contents() {
497497
let result: Vec<Lint> = parse_contents(
498498
r#"
499499
declare_clippy_lint! {
500+
#[clippy::version = "test 2"]
500501
pub PTR_ARG,
501502
style,
502503
"really long \
503504
text"
504505
}
505506
506507
declare_clippy_lint!{
508+
#[clippy::version = "test 2"]
507509
pub DOC_MARKDOWN,
508510
pedantic,
509511
"single line"
510512
}
511513
512514
/// some doc comment
513515
declare_deprecated_lint! {
516+
#[clippy::version = "test 2"]
514517
pub SHOULD_ASSERT_EQ,
515518
"`assert!()` will be more flexible with RFC 2011"
516519
}

0 commit comments

Comments
 (0)