diff options
author | Gusted <williamzijl7@hotmail.com> | 2021-11-18 01:33:06 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-18 09:33:06 +0800 |
commit | c98dd7a3e0a08b1e890d6030dd51aae9dd45aaf9 (patch) | |
tree | e50b4bf9fc94e26d26d1f9709f4e8275eed60fc1 /integrations/eventsource_test.go | |
parent | b01f6c1a8c9f358c297e0d1f4ee8696c9e25d5b2 (diff) | |
download | gitea-c98dd7a3e0a08b1e890d6030dd51aae9dd45aaf9.tar.gz gitea-c98dd7a3e0a08b1e890d6030dd51aae9dd45aaf9.zip |
Remove unnecessary variable assignments (#17695)
* Remove unnecessary variable assignments
As title
* enable ineffassign
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'integrations/eventsource_test.go')
-rw-r--r-- | integrations/eventsource_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/eventsource_test.go b/integrations/eventsource_test.go index eb08c004a8..6c4c87b3d1 100644 --- a/integrations/eventsource_test.go +++ b/integrations/eventsource_test.go @@ -69,7 +69,7 @@ func TestEventSourceManagerRun(t *testing.T) { lastReadAt := "2000-01-01T00%3A50%3A01%2B00%3A00" //946687801 <- only Notification 4 is in this filter ... req = NewRequest(t, "PUT", fmt.Sprintf("/api/v1/repos/%s/%s/notifications?last_read_at=%s&token=%s", user2.Name, repo1.Name, lastReadAt, token)) - resp = session.MakeRequest(t, req, http.StatusResetContent) + session.MakeRequest(t, req, http.StatusResetContent) req = NewRequest(t, "GET", fmt.Sprintf("/api/v1/notifications?token=%s&status-types=unread", token)) resp = session.MakeRequest(t, req, http.StatusOK) |