Skip to content
This repository has been archived by the owner on May 1, 2020. It is now read-only.

Commit

Permalink
Fix wrong error formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
romshark committed Mar 3, 2018
1 parent 8ce9746 commit c0743cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/authentication_test.go
Expand Up @@ -37,7 +37,7 @@ func TestAuthentication(t *testing.T) {
field = "session.info.some-number"
expectedNumber := int(12345)
if info.SomeNumber != expectedNumber {
t.Errorf("%s differs: %s | %s", field, info.SomeNumber, expectedNumber)
t.Errorf("%s differs: %d | %d", field, info.SomeNumber, expectedNumber)
return
}
}
Expand Down Expand Up @@ -139,7 +139,7 @@ func TestAuthentication(t *testing.T) {
return
}
if actualNumber != expectedNumber {
t.Errorf("%s differs: %s | %s", field, actualNumber, expectedNumber)
t.Errorf("%s differs: %f | %f", field, actualNumber, expectedNumber)
return
}
onSessionCreatedHookExecuted.Done()
Expand Down

0 comments on commit c0743cf

Please sign in to comment.