Skip to content

Commit

Permalink
expected type/subtype test for descriptors should have comment that r…
Browse files Browse the repository at this point in the history
…eferences failure, not success

Signed-off-by: Vanessa Sochat <vsochat@stanford.edu>
  • Loading branch information
7c00d committed Apr 23, 2027
1 parent 9da8ab0 commit a6db526
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions schema/descriptor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func TestDescriptor(t *testing.T) {
fail: false,
},

// expected success: mediaType does not match pattern (type too long)
// expected failure: mediaType does not match pattern (type too long)
{
descriptor: `
{
Expand All @@ -109,7 +109,7 @@ func TestDescriptor(t *testing.T) {
fail: true,
},

// expected success: mediaType does not match pattern (subtype too long)
// expected failure: mediaType does not match pattern (subtype too long)
{
descriptor: `
{
Expand Down

0 comments on commit a6db526

Please sign in to comment.