Skip to content

Commit

Permalink
Fix suffix-hyphens description in test data invalid.yml (#333)
Browse files Browse the repository at this point in the history
## Summary

Changes description of the test to match its meaning.

## How was it tested?

Run `pnpm test` and `go test`.

Co-authored-by: Adrian Tosca <[email protected]>
  • Loading branch information
aleris and Adrian Tosca committed May 20, 2024
1 parent 1d44186 commit 5d5810e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spec/invalid.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
{
"name": "suffix-hyphens",
"typeid": "prefix_123456789-123456789-123456",
"description": "The suffix should be lowercase with no uppercase letters"
"description": "The suffix can't have any hyphens"
},
{
"name": "suffix-wrong-alphabet",
Expand Down
4 changes: 2 additions & 2 deletions spec/invalid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Each example contains an invalid TypeID string. Implementations are expected
# to throw an error when attempting to parse/validate these strings.
#
# Last updated: 2024-04-10 (for version 0.3.0 of the spec)
# Last updated: 2024-05-18 (for version 0.3.0 of the spec)

- name: prefix-uppercase
typeid: "PREFIX_00000000000000000000000000"
Expand Down Expand Up @@ -67,7 +67,7 @@
# This example has the right length, so that the failure is caused by the hyphens
# and not the suffix length
typeid: "prefix_123456789-123456789-123456"
description: "The suffix should be lowercase with no uppercase letters"
description: "The suffix can't have any hyphens"

- name: suffix-wrong-alphabet
typeid: "prefix_ooooooiiiiiiuuuuuuulllllll"
Expand Down

0 comments on commit 5d5810e

Please sign in to comment.