diff --git a/.travis.yml b/.travis.yml index f30523615a5c602cbeedaeed0d9eaeca10659cba..2e1898d9bf1737de8800c588e7e0d7b807e1823b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ language: go sudo: false go: - - 1.5.1 + - 1.6 - tip matrix: diff --git a/session_test.go b/session_test.go index 52a89a92d74a28f57102df7159158d1157f99b58..d43b0276aeb28abb05e5a5244cfc365cf12ad998 100644 --- a/session_test.go +++ b/session_test.go @@ -159,7 +159,7 @@ func TestSession_CheckSendingTime(t *testing.T) { t.Error("Expected error") } if err.RejectReason() != rejectReasonRequiredTagMissing { - t.Error("Reject reason not expected, got ", err.RejectReason) + t.Error("Reject reason not expected, got ", err.RejectReason()) } //sending time too late @@ -173,7 +173,7 @@ func TestSession_CheckSendingTime(t *testing.T) { t.Error("Expected error") } if err.RejectReason() != rejectReasonSendingTimeAccuracyProblem { - t.Error("Reject reason not expected, got ", err.RejectReason) + t.Error("Reject reason not expected, got ", err.RejectReason()) } //future sending time @@ -187,7 +187,7 @@ func TestSession_CheckSendingTime(t *testing.T) { t.Error("Expected error") } if err.RejectReason() != rejectReasonSendingTimeAccuracyProblem { - t.Error("Reject reason not expected, got ", err.RejectReason) + t.Error("Reject reason not expected, got ", err.RejectReason()) } //sending time ok