Set modified via bson marshal and update operators
This commit is contained in:
@@ -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])
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user