Backend: Fix profiling timer test
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
55918a40fe
commit
7339e67201
1 changed files with 1 additions and 1 deletions
|
@ -11,5 +11,5 @@ func TestProfileTime(t *testing.T) {
|
|||
start := time.Now()
|
||||
time.Sleep(1 * time.Millisecond)
|
||||
ProfileTime(start, fmt.Sprintf("%s", "Successful test"))
|
||||
assert.Contains(t, logBuffer.String(), "Successful test took")
|
||||
assert.Contains(t, logBuffer.String(), "Successful test [")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue