aboutsummaryrefslogtreecommitdiff
path: root/reqres_test.go
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-11-25 14:41:08 +0100
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-11-25 14:41:08 +0100
commitd8eb282d766def7652ee553ee411b1a8cefa7ac1 (patch)
tree27b545c5d9a58bd1d90f04ea9d5bff2d0250b1b1 /reqres_test.go
parent19f0c4f8989c1ffca33072864f121c0ac43faa4b (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.go2
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,
},
{