Skip to content

Commit

Permalink
Merge branch 'devel'
Browse files Browse the repository at this point in the history
  • Loading branch information
or-else committed May 6, 2021
2 parents 5e3fcf6 + 8edfed5 commit 01a463e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions server/db/mongodb/tests/mongo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ func TestSubsForTopic(t *testing.T) {
}

func TestFindUsers(t *testing.T) {
reqTags := [][]string{[]string{"alice", "bob", "carol"}}
reqTags := [][]string{{"alice", "bob", "carol"}}
gotSubs, err := adp.FindUsers(types.ParseUserId("usr"+users[2].Id), reqTags, nil)
if err != nil {
t.Error(err)
Expand All @@ -501,7 +501,7 @@ func TestFindUsers(t *testing.T) {
}

func TestFindTopics(t *testing.T) {
reqTags := [][]string{[]string{"travel", "qwer", "asdf", "zxcv"}}
reqTags := [][]string{{"travel", "qwer", "asdf", "zxcv"}}
gotSubs, err := adp.FindTopics(reqTags, nil)
if err != nil {
t.Error(err)
Expand Down
2 changes: 1 addition & 1 deletion server/session_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ func TestDispatchSetMalformedWhat(t *testing.T) {
Id: "123",
Topic: destUid.UserId(),
MsgSetQuery: MsgSetQuery{
// No meta requests.
// No meta requests.
},
},
}
Expand Down

0 comments on commit 01a463e

Please sign in to comment.