Skip to content

Commit

Permalink
make lint pass
Browse files Browse the repository at this point in the history
  • Loading branch information
gregns1 committed Jul 3, 2024
1 parent 8e53cd4 commit 958dc52
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions db/database_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ func TestGetRemovalMultiChannel(t *testing.T) {
// Create the first revision of doc1.
rev1Body := Body{
"k1": "v1",
"channels": append([]string{"ABC", "NBC"}),
"channels": []string{"ABC", "NBC"},
}
rev1ID, _, err := collection.Put(ctx, "doc1", rev1Body)
require.NoError(t, err, "Error creating doc")
Expand Down Expand Up @@ -540,7 +540,7 @@ func TestDeltaSyncWhenFromRevIsChannelRemoval(t *testing.T) {
// Create the first revision of doc1.
rev1Body := Body{
"k1": "v1",
"channels": append([]string{"ABC", "NBC"}),
"channels": []string{"ABC", "NBC"},
}
rev1ID, _, err := collection.Put(ctx, "doc1", rev1Body)
require.NoError(t, err, "Error creating doc")
Expand Down Expand Up @@ -607,7 +607,7 @@ func TestDeltaSyncWhenToRevIsChannelRemoval(t *testing.T) {
// Create the first revision of doc1.
rev1Body := Body{
"k1": "v1",
"channels": append([]string{"ABC", "NBC"}),
"channels": []string{"ABC", "NBC"},
}
rev1ID, _, err := collection.Put(ctx, "doc1", rev1Body)
require.NoError(t, err, "Error creating doc")
Expand Down

0 comments on commit 958dc52

Please sign in to comment.