Set modified via bson marshal and update operators

This commit is contained in:
Bel LaPointe
2020-07-22 21:13:18 -06:00
parent 710e20d6e0
commit 9338cf86c9
4 changed files with 85 additions and 3 deletions

View File

@@ -85,8 +85,8 @@ func TestIntegration(t *testing.T) {
if some[0].Name != ones[0].Name {
t.Fatal(some[0].Name)
}
if len(some[0].Peers()) > 0 {
t.Fatal(some[0].Peers())
if l := len(some[0].Peers()); l > 0 {
t.Fatalf("%d: %+v", l, some[0])
}
})