diff options
Diffstat (limited to 'tests/vcs.rs')
| -rw-r--r-- | tests/vcs.rs | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/vcs.rs b/tests/vcs.rs index 52f4372..d0f0d60 100644 --- a/tests/vcs.rs +++ b/tests/vcs.rs @@ -47,10 +47,7 @@ fn stage_a_respects_a_tag_pin() { fx.upstream_commit("upstream: moved past the tag\n"); let (outcome, _) = detect_and_take(&env, "git-tagged"); - assert!( - matches!(outcome, detect::Outcome::NoChange), - "a tag pin does not drift with the branch: {outcome:?}" - ); + assert!(matches!(outcome, detect::Outcome::NoChange), "a tag pin does not drift with the branch: {outcome:?}"); } #[test] @@ -193,10 +190,7 @@ fn a_moved_tip_with_an_unchanged_pkgver_is_a_notice_not_a_candidate() { assert_eq!(notices[0].kind, notice_kind::PIN_DRIFT); let detail = notices[0].detail_json.clone(); assert!(detail.contains("nothing publishable"), "{detail}"); - assert_eq!( - env.query_i64("SELECT count(*) FROM package WHERE state='in_index'", &[]), - Some(1) - ); + assert_eq!(env.query_i64("SELECT count(*) FROM package WHERE state='in_index'", &[]), Some(1)); } #[test] |
