aboutsummaryrefslogtreecommitdiff
path: root/mingling_picker/test/src/lib.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-07-15 20:30:48 +0800
committer魏曹先生 <1992414357@qq.com>2026-07-15 20:30:48 +0800
commit2c66376a50d767e6e2e0bc5233707a39f124607b (patch)
treed0fb270a36cf3498771b0721acb3ae356b71d2da /mingling_picker/test/src/lib.rs
parent75f420f8d50910888822c412724ff80fbce32ac5 (diff)
test: add integration test crate for mingling_picker
Diffstat (limited to 'mingling_picker/test/src/lib.rs')
-rw-r--r--mingling_picker/test/src/lib.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/mingling_picker/test/src/lib.rs b/mingling_picker/test/src/lib.rs
new file mode 100644
index 0000000..9bc0560
--- /dev/null
+++ b/mingling_picker/test/src/lib.rs
@@ -0,0 +1,8 @@
+// Using `assert_eq!(x, true)` is clearer than `assert!(x)` for expressing expected values
+//
+// BECAUSE `assert!` only checks if the boolean value is true,
+// while `assert_eq!` explicitly shows the expected value
+#![allow(clippy::bool_assert_comparison)]
+
+#[cfg(test)]
+mod test;