Fix goconst linter issues (bd-116)
- Use windowsOS constant in reinit_test.go - Use testIssueBD1 constant in compact_test.go and counter_sync_test.go - Merged duplicate bd-126 into bd-116
This commit is contained in:
@@ -221,7 +221,7 @@ func TestCounterSyncAfterDeleteAll(t *testing.T) {
|
||||
if err := store.CreateIssue(ctx, newIssue, "test"); err != nil {
|
||||
t.Fatalf("Failed to create new issue: %v", err)
|
||||
}
|
||||
if newIssue.ID != "bd-1" {
|
||||
if newIssue.ID != testIssueBD1 {
|
||||
t.Errorf("Expected new issue to be bd-1, got %s", newIssue.ID)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user