Skip to content

Commit

Permalink
Linter: Shorter lines are not wrapped
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Jan 24, 2024
1 parent e7aafb4 commit c68b921
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions bin/ref-type/tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,12 @@ fn junk_is_other() {

#[test]
fn valid_version_is_release() {
assert_eq!(
stdout("refs/tags/0.0.0"),
"value=release\n"
);
assert_eq!(stdout("refs/tags/0.0.0"), "value=release\n");
}

#[test]
fn valid_version_with_trailing_characters_is_other() {
assert_eq!(
stdout("refs/tags/0.0.0-rc1"),
"value=other\n"
);
assert_eq!(stdout("refs/tags/0.0.0-rc1"), "value=other\n");
}

#[test]
Expand Down

0 comments on commit c68b921

Please sign in to comment.