Commit 968d94b
committed
fix: Update line number retrieval in UnitTestsCVProvider
- Replace direct startOffset/endOffset with textRange.startOffset/endOffset
- Apply consistent approach for both element and element.parent
- Ensure proper line number calculation for unit test generation1 parent 977011e commit 968d94b
File tree
1 file changed
+4
-4
lines changed- src/main/kotlin/ai/devchat/plugin/hints
1 file changed
+4
-4
lines changedLines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments