From a8c9a2a7fcae7e8d1658ada71c5e16e69a857830 Mon Sep 17 00:00:00 2001 From: baoyachi Date: Thu, 22 Aug 2024 10:38:46 +0800 Subject: [PATCH] fix cargo fix check --- src/gen_const.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gen_const.rs b/src/gen_const.rs index 301739b..d6aed16 100644 --- a/src/gen_const.rs +++ b/src/gen_const.rs @@ -102,8 +102,8 @@ mod tests { #[test] fn test_version_fn() { - assert!(version_tag_const().contains(VERSION_TAG_CONST)); - assert!(clap_version_branch_const().contains(CLAP_VERSION_BRANCH_CONST)); - assert!(clap_long_version_branch_const().contains(CLAP_LONG_VERSION_BRANCH_CONST)); + assert!(version_tag_const().contains(VERSION_TAG_CONST.0)); + assert!(clap_version_branch_const().contains(CLAP_VERSION_BRANCH_CONST.1)); + assert!(clap_long_version_branch_const().contains(CLAP_LONG_VERSION_BRANCH_CONST.1)); } }