Skip to content

Commit 8eb97af

Browse files
authored
chore: fix typos in test hints (#187)
1 parent d855ec4 commit 8eb97af

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/path_gateway_ipns_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func TestGatewayIPNSPath(t *testing.T) {
5555
Name: "GET for /ipns/name with valid V1+V2 signatures with V1-vs-V2 value mismatch MUST fail with 5XX",
5656
Hint: `
5757
Legacy V1 signatures in IPNS records are considered insecure and
58-
got replaced with V2 that sings entire CBOR in the data field.
58+
got replaced with V2 that signs entire CBOR in the data field.
5959
Producing records with both V1 and V2 signatures is valid for
6060
backward-compatibility, but validation logic requires V1 (legacy
6161
protobuf fields) and V2 (CBOR in data field) to match. This means
@@ -73,7 +73,7 @@ func TestGatewayIPNSPath(t *testing.T) {
7373
Name: "GET for /ipns/name with valid V2 and broken V1 signature succeeds",
7474
Hint: `
7575
Legacy V1 signatures in IPNS records are considered insecure and
76-
got replaced with V2 that sings entire CBOR in the data field.
76+
got replaced with V2 that signs entire CBOR in the data field.
7777
Integrity of the record is protected by SignatureV2, V1 can be
7878
ignored as long V1 values match V2 ones in CBOR.
7979
More details in IPIP-428.
@@ -100,7 +100,7 @@ func TestGatewayIPNSPath(t *testing.T) {
100100
Name: "GET for /ipns/name with valid V2-only signature succeeds",
101101
Hint: `
102102
Legacy V1 signatures in IPNS records are considered insecure and
103-
got replaced with V2 that sings entire CBOR in the data field.
103+
got replaced with V2 that signs entire CBOR in the data field.
104104
Gateway MUST correctly resolve IPNS records without V1 fields.
105105
More details in IPIP-428.
106106
`,

0 commit comments

Comments
 (0)