diff options
author | Sandro Santilli <strk@kbt.io> | 2017-03-21 01:55:00 +0100 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-03-21 08:55:00 +0800 |
commit | f73e7344111645b836e767bbf80b96834651805f (patch) | |
tree | 0315cb59a9b56bcb594d2cd4dccf385557e834ba /models/user_openid_test.go | |
parent | 888dee3b5f931062ea97e57130b26d1943e5173e (diff) | |
download | gitea-f73e7344111645b836e767bbf80b96834651805f.tar.gz gitea-f73e7344111645b836e767bbf80b96834651805f.zip |
Run "make fmt" with go-1.6 (#1333)
Diffstat (limited to 'models/user_openid_test.go')
-rw-r--r-- | models/user_openid_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/models/user_openid_test.go b/models/user_openid_test.go index 74e3cf6f00..e4734cc428 100644 --- a/models/user_openid_test.go +++ b/models/user_openid_test.go @@ -52,14 +52,14 @@ func TestGetUserByOpenID(t *testing.T) { func TestToggleUserOpenIDVisibility(t *testing.T) { assert.NoError(t, PrepareTestDatabase()) oids, err := GetUserOpenIDs(int64(2)) - if ! assert.NoError(t, err) { + if !assert.NoError(t, err) { return } assert.Len(t, oids, 1) assert.True(t, oids[0].Show) err = ToggleUserOpenIDVisibility(oids[0].ID) - if ! assert.NoError(t, err) { + if !assert.NoError(t, err) { return } @@ -69,12 +69,12 @@ func TestToggleUserOpenIDVisibility(t *testing.T) { assert.False(t, oids[0].Show) } err = ToggleUserOpenIDVisibility(oids[0].ID) - if ! assert.NoError(t, err) { + if !assert.NoError(t, err) { return } oids, err = GetUserOpenIDs(int64(2)) - if ! assert.NoError(t, err) { + if !assert.NoError(t, err) { return } assert.Len(t, oids, 1) |