Commit 71e5576
test(integration): fix verisim_ vs verisimdb_ prefix + Windows path escaping
Two bugs in tests/integration_test.rs caused 2 of 9 integration tests to
fail (the unit tests were unaffected).
1. Prefix mismatch — codegen emits identifiers prefixed `verisimdb_`
(see src/codegen/overlay.rs). The integration tests asserted
substring presence of `verisim_…` which is not a substring of
`verisimdb_…`. Replaced 11 occurrences in tests/integration_test.rs.
2. Windows path escaping — test_end_to_end_file_workflow interpolates
`schema_path.display()` into a TOML basic string with `"…"`. On
Windows the path contains backslashes which TOML treats as escapes,
producing a malformed manifest and an unwrap-on-Err. Switched the
embedded path to a TOML literal string (single quotes) which
suppresses escape interpretation.
Verified: cargo test now reports 26 + 26 + 9 = 61 tests, 0 failed.
Closes #8
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 1bb85fe commit 71e5576
1 file changed
Lines changed: 14 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
155 | | - | |
156 | | - | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
436 | 436 | | |
437 | 437 | | |
438 | 438 | | |
439 | | - | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
440 | 442 | | |
441 | 443 | | |
442 | 444 | | |
| |||
449 | 451 | | |
450 | 452 | | |
451 | 453 | | |
452 | | - | |
| 454 | + | |
453 | 455 | | |
454 | 456 | | |
455 | 457 | | |
| |||
483 | 485 | | |
484 | 486 | | |
485 | 487 | | |
486 | | - | |
| 488 | + | |
487 | 489 | | |
488 | 490 | | |
489 | 491 | | |
490 | | - | |
| 492 | + | |
491 | 493 | | |
492 | 494 | | |
493 | 495 | | |
| |||
0 commit comments