diff options
author | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2020-11-25 14:41:08 +0100 |
---|---|---|
committer | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2020-11-25 14:41:08 +0100 |
commit | d8eb282d766def7652ee553ee411b1a8cefa7ac1 (patch) | |
tree | 27b545c5d9a58bd1d90f04ea9d5bff2d0250b1b1 /reqres_test.go | |
parent | 19f0c4f8989c1ffca33072864f121c0ac43faa4b (diff) |
fixed error in test-case setup
Second must be a valid to ensure that we fail on first.
Diffstat (limited to 'reqres_test.go')
-rw-r--r-- | reqres_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reqres_test.go b/reqres_test.go index 228904e..53f6f07 100644 --- a/reqres_test.go +++ b/reqres_test.go @@ -184,7 +184,7 @@ func TestNewGetConsistencyProofRequest(t *testing.T) { { description: "bad request: first must be larger than zero", first: "0", - second: "second", + second: "2", wantErr: true, }, { |