Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sejongk committed Sep 6, 2024
1 parent d78f6ff commit 402a51c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion server/packs/packs.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ import (
)

var (
ErrCheckpointTest = errors.New("failure for checkpoint testing purpose")
// ErrCheckpointTest is an error for checkpoint test purposes
ErrCheckpointTest = errors.New("error for checkpoint testing purposes")
)

// PushPullKey creates a new sync.Key of PushPull for the given document.
Expand Down
2 changes: 1 addition & 1 deletion server/packs/packs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func TestMain(m *testing.M) {
}

func TestPacks(t *testing.T) {
t.Run("pushpull consistency test", func(t *testing.T) {
t.Run("cannot detect change duplication due to clientInfo update failure", func(t *testing.T) {
ctx := context.Background()

projectInfo, err := testBackend.DB.FindProjectInfoByID(
Expand Down

0 comments on commit 402a51c

Please sign in to comment.