Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
beego
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
beego
Commits
6d18d4dc
Unverified
Commit
6d18d4dc
authored
Feb 22, 2018
by
astaxie
Committed by
GitHub
Feb 22, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3066 from takeo-lvgs/fix_3065
fix the issue #3065
parents
37d1c136
21fe2d51
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
logger_test.go
logs/logger_test.go
+2
-2
No files found.
logs/logger_test.go
View file @
6d18d4dc
...
...
@@ -31,7 +31,7 @@ func TestFormatHeader_0(t *testing.T) {
break
}
h
,
_
:=
formatTimeHeader
(
tm
)
if
tm
.
Format
(
"2006/01/02 15:04:05.
999
"
)
!=
string
(
h
)
{
if
tm
.
Format
(
"2006/01/02 15:04:05.
000
"
)
!=
string
(
h
)
{
t
.
Log
(
tm
)
t
.
FailNow
()
}
...
...
@@ -49,7 +49,7 @@ func TestFormatHeader_1(t *testing.T) {
break
}
h
,
_
:=
formatTimeHeader
(
tm
)
if
tm
.
Format
(
"2006/01/02 15:04:05.
999
"
)
!=
string
(
h
)
{
if
tm
.
Format
(
"2006/01/02 15:04:05.
000
"
)
!=
string
(
h
)
{
t
.
Log
(
tm
)
t
.
FailNow
()
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment