refactoring nits (#18188)
* no octal for time values * rm artifact from refactoring Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
parent
6da078d616
commit
0572c78938
5 changed files with 22 additions and 21 deletions
|
@ -99,8 +99,8 @@ func TestGogsDownloadRepo(t *testing.T) {
|
|||
Content: "test",
|
||||
Milestone: "",
|
||||
State: "open",
|
||||
Created: time.Date(2019, 06, 11, 8, 16, 44, 0, time.UTC),
|
||||
Updated: time.Date(2019, 10, 26, 11, 07, 2, 0, time.UTC),
|
||||
Created: time.Date(2019, 6, 11, 8, 16, 44, 0, time.UTC),
|
||||
Updated: time.Date(2019, 10, 26, 11, 7, 2, 0, time.UTC),
|
||||
Labels: []*base.Label{
|
||||
{
|
||||
Name: "bug",
|
||||
|
@ -121,8 +121,8 @@ func TestGogsDownloadRepo(t *testing.T) {
|
|||
PosterID: 5331,
|
||||
PosterName: "lunny",
|
||||
PosterEmail: "xiaolunwen@gmail.com",
|
||||
Created: time.Date(2019, 06, 11, 8, 19, 50, 0, time.UTC),
|
||||
Updated: time.Date(2019, 06, 11, 8, 19, 50, 0, time.UTC),
|
||||
Created: time.Date(2019, 6, 11, 8, 19, 50, 0, time.UTC),
|
||||
Updated: time.Date(2019, 6, 11, 8, 19, 50, 0, time.UTC),
|
||||
Content: "1111",
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue