Commit a15b235
fix(ovsm): Suppress clippy::approx_constant warnings in test fixtures
Add #[allow(clippy::approx_constant)] to test functions that use
hardcoded float values like 3.14, 3.14159, and SQRT_2 approximations.
These are test fixtures validating LISP literal parsing and math
functions, not constant definitions. The approximate values are
intentional for testing purposes.
## Changes
- lisp_comprehensive_tests.rs: Allow approx_constant in test_literals_floats and test_const_definition
- lisp_e2e_tests.rs: Allow approx_constant in test_sqrt_float and test_abs_negative_float
## Results
✅ OVSM crate: 0 warnings
✅ OVSM tests: 391 passed
✅ Formatting: 100% compliant
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent feeed9a commit a15b235
File tree
2 files changed
+4
-0
lines changed- crates/ovsm/tests
2 files changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
265 | 266 | | |
266 | 267 | | |
267 | 268 | | |
| 269 | + | |
268 | 270 | | |
269 | 271 | | |
270 | 272 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
937 | 937 | | |
938 | 938 | | |
939 | 939 | | |
| 940 | + | |
940 | 941 | | |
941 | 942 | | |
942 | 943 | | |
| |||
1029 | 1030 | | |
1030 | 1031 | | |
1031 | 1032 | | |
| 1033 | + | |
1032 | 1034 | | |
1033 | 1035 | | |
1034 | 1036 | | |
| |||
0 commit comments