From 093ddd6f4d56aa167f8315ef4427fc5f86e88558 Mon Sep 17 00:00:00 2001 From: Yuichiro Yamashita Date: Thu, 26 Dec 2024 22:52:55 +0900 Subject: [PATCH] chore(ast): use `assert_eq!` instead of `assert!` (`crates/oxc_ast/src/lib.rs`) (#8125) related to https://github.com/oxc-project/oxc/pull/8124 --- crates/oxc_ast/src/lib.rs | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/crates/oxc_ast/src/lib.rs b/crates/oxc_ast/src/lib.rs index 0010d1bb14c52..4da8cae35cf9a 100644 --- a/crates/oxc_ast/src/lib.rs +++ b/crates/oxc_ast/src/lib.rs @@ -119,18 +119,18 @@ fn size_asserts() { use crate::ast; - assert!(size_of::() == 16); - assert!(size_of::() == 16); - assert!(size_of::() == 16); - assert!(size_of::() == 16); - assert!(size_of::() == 16); - assert!(size_of::() == 16); - assert!(size_of::() == 16); - assert!(size_of::() == 16); - assert!(size_of::() == 16); - assert!(size_of::() == 16); - assert!(size_of::() == 16); - assert!(size_of::() == 16); + assert_eq!(size_of::(), 16); + assert_eq!(size_of::(), 16); + assert_eq!(size_of::(), 16); + assert_eq!(size_of::(), 16); + assert_eq!(size_of::(), 16); + assert_eq!(size_of::(), 16); + assert_eq!(size_of::(), 16); + assert_eq!(size_of::(), 16); + assert_eq!(size_of::(), 16); + assert_eq!(size_of::(), 16); + assert_eq!(size_of::(), 16); + assert_eq!(size_of::(), 16); } #[test]