Skip to content

Commit

Permalink
fix: prints
Browse files Browse the repository at this point in the history
  • Loading branch information
james-d-elliott committed Jul 14, 2024
1 parent 83f1c0d commit d8a892c
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions metadata/metadata_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ import (
"bytes"
"encoding/json"
"errors"
"fmt"
"io"
"math"
"net/http"
"testing"
"time"
Expand Down Expand Up @@ -34,22 +32,7 @@ func TestProductionMetadataTOCParsing(t *testing.T) {

metadata, err = decoder.Parse(payload)
require.NoError(t, err)

fmt.Println(payload.Number)

for i, entry := range metadata.Parsed.Entries {
for _, items := range entry.MetadataStatement.UserVerificationDetails {
for _, item := range items {
if item.PaDesc.MinComplexity > math.MaxUint32 {
fmt.Printf("item %d pa complexity for %s is too large with value %d\n", i, item.UserVerificationMethod, item.PaDesc.MinComplexity)
}
}
}
}

for _, perr := range metadata.Unparsed {
fmt.Println(perr.Error)
}
require.NotNil(t, metadata)
}

func TestConformanceMetadataTOCParsing(t *testing.T) {
Expand Down

0 comments on commit d8a892c

Please sign in to comment.