Skip to content

Commit 776dbd8

Browse files
committed
fix: use assert! instead of assert_eq! with literal bool
Fixes clippy::bool_assert_comparison warning that was causing CI failure with -D warnings flag.
1 parent 1cde7d5 commit 776dbd8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/mcp_integration_test.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -483,9 +483,8 @@ fn test_mcp_load_skill_not_found() {
483483
let result = &response["result"];
484484

485485
// Verify is_error is true for not found
486-
assert_eq!(
486+
assert!(
487487
result["isError"].as_bool().unwrap_or(false),
488-
true,
489488
"Expected isError to be true for not found"
490489
);
491490

0 commit comments

Comments
 (0)