Backend: Fix profiling timer test

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2019-12-03 13:21:41 +01:00
parent 55918a40fe
commit 7339e67201

View file

@ -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 [")
}