Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Side by Side Diff: filter/txnBuf/txnbuf_test.go

Issue 1679093002: Use ShouldResemble instead of ShouldResembleV. (Closed) Base URL: https://github.com/luci/gae@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | impl/memory/datastore_query_execution_test.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package txnBuf 5 package txnBuf
6 6
7 import ( 7 import (
8 "bytes" 8 "bytes"
9 "fmt" 9 "fmt"
10 "math/rand" 10 "math/rand"
(...skipping 821 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 832
833 vals = []*Foo{} 833 vals = []*Foo{}
834 So(ds.GetAll(q, &vals), ShouldBe Nil) 834 So(ds.GetAll(q, &vals), ShouldBe Nil)
835 So(vals, ShouldResemble, []*Foo{ foo1, projectData[0], foo7}) 835 So(vals, ShouldResemble, []*Foo{ foo1, projectData[0], foo7})
836 836
837 return nil 837 return nil
838 }, nil), ShouldBeNil) 838 }, nil), ShouldBeNil)
839 839
840 vals = []*Foo{} 840 vals = []*Foo{}
841 So(ds.GetAll(q, &vals), ShouldBeNil) 841 So(ds.GetAll(q, &vals), ShouldBeNil)
842 » » » » » So(vals, ShouldResembleV, []*Foo{foo1, p rojectData[0], foo7}) 842 » » » » » So(vals, ShouldResemble, []*Foo{foo1, pr ojectData[0], foo7})
843 843
844 return nil 844 return nil
845 }, nil), ShouldBeNil) 845 }, nil), ShouldBeNil)
846 846
847 vals := []*Foo{} 847 vals := []*Foo{}
848 So(ds.GetAll(q, &vals), ShouldBeNil) 848 So(ds.GetAll(q, &vals), ShouldBeNil)
849 So(vals, ShouldResemble, []*Foo{foo1, projectDat a[0], foo7}) 849 So(vals, ShouldResemble, []*Foo{foo1, projectDat a[0], foo7})
850 850
851 }) 851 })
852 852
(...skipping 16 matching lines...) Expand all
869 val := pm["Value"] 869 val := pm["Value"]
870 So(val[len(val)-1].Value(), ShouldResemb le, "wat") 870 So(val[len(val)-1].Value(), ShouldResemb le, "wat")
871 }), ShouldBeNil) 871 }), ShouldBeNil)
872 }) 872 })
873 873
874 }) 874 })
875 875
876 }) 876 })
877 877
878 } 878 }
OLDNEW
« no previous file with comments | « no previous file | impl/memory/datastore_query_execution_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698