Commit 174d2f8
test: improve test coverage for pkg/datasource/sql/undo (#971)
* test: improve test coverage for pkg/datasource/sql/undo
* fix: correct spelling errors
* style: format code with go fmt for undo package
* Correcting spelling errors
* fix: skip mysql undo manager tests requiring database connections
* fix: resolve staticcheck SA4006 unused variable warnings
Move manager variable creation after t.Skip() calls in MySQL undo tests
to prevent unused variable warnings from golangci-lint staticcheck.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
* Conflict handling
* reslove conficts
* test: improve test coverage for pkg/datasource/sql/undo package
* style: apply gofmt fixes
* improve test coverage for pkg/datasource/sql/undo
---------
Co-authored-by: Claude <[email protected]>1 parent 34dfa82 commit 174d2f8
File tree
26 files changed
+4002
-1727
lines changed- pkg/datasource/sql/undo
- base
- builder
- executor
- factor
- mysql
- parser
26 files changed
+4002
-1727
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
715 | 715 | | |
716 | 716 | | |
717 | 717 | | |
| 718 | + | |
718 | 719 | | |
719 | 720 | | |
720 | 721 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
371 | | - | |
| 371 | + | |
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
377 | | - | |
| 377 | + | |
378 | 378 | | |
379 | 379 | | |
380 | 380 | | |
| |||
0 commit comments