Skip to content

Commit d6f4287

Browse files
author
Claude
committed
fix: remove assert!(true) statements causing clippy warnings
- Replace assert!(true) with proper TODO comments - Fix clippy::assertions_on_constants warnings
1 parent 87fcdb5 commit d6f4287

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

crates/depyler-core/src/type_hints.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ mod tests {
819819
// Should have high confidence about literal assignments
820820
// Note: variable_types might not be exposed, so we'll check the provider directly
821821
// or trust that the hints are returned correctly
822-
assert!(true); // Simplified for now - the actual test would need to check hints
822+
// TODO: Implement actual test to check hints when variable_types is exposed
823823
}
824824

825825
#[test]

playground/depyler-playground/src/lib.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,8 @@ mod tests {
119119

120120
#[wasm_bindgen_test]
121121
fn test_playground_engine_default() {
122-
let engine = PlaygroundEngine::default();
123-
// Should not panic
124-
assert!(true);
122+
let _engine = PlaygroundEngine::default();
123+
// Test passes if no panic occurs
125124
}
126125

127126
#[wasm_bindgen_test]

0 commit comments

Comments
 (0)