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

Unified Diff: impl/memory/user_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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « impl/memory/mail_test.go ('k') | service/datastore/datastore_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: impl/memory/user_test.go
diff --git a/impl/memory/user_test.go b/impl/memory/user_test.go
index f96b2e37179c718e009e1aedd36e6498c27a8b67..934a4cf469e6d42c73f49f40d195bb9c0f7827e6 100644
--- a/impl/memory/user_test.go
+++ b/impl/memory/user_test.go
@@ -32,7 +32,7 @@ func TestUser(t *testing.T) {
Convey("can login (normal)", func() {
user.Testable().Login("hello@world.com", "", false)
- So(user.Current(), ShouldResembleV, &userS.User{
+ So(user.Current(), ShouldResemble, &userS.User{
Email: "hello@world.com",
AuthDomain: "world.com",
ID: "14628837901535854097",
@@ -54,7 +54,7 @@ func TestUser(t *testing.T) {
Convey("can be admin", func() {
user.Testable().Login("hello@world.com", "", true)
- So(user.Current(), ShouldResembleV, &userS.User{
+ So(user.Current(), ShouldResemble, &userS.User{
Email: "hello@world.com",
AuthDomain: "world.com",
ID: "14628837901535854097",
@@ -67,7 +67,7 @@ func TestUser(t *testing.T) {
user.Testable().Login("hello@world.com", "clientID", false)
usr, err := user.CurrentOAuth("scope")
So(err, ShouldBeNil)
- So(usr, ShouldResembleV, &userS.User{
+ So(usr, ShouldResemble, &userS.User{
Email: "hello@world.com",
AuthDomain: "world.com",
ID: "14628837901535854097",
« no previous file with comments | « impl/memory/mail_test.go ('k') | service/datastore/datastore_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698