Skip to content

Commit

Permalink
optimize(pgSz): use explicit type int instaed of xml.Attr
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed Aug 23, 2024
1 parent 51eca30 commit 3e5e3f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion structdoc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func TestUnmarshalPlainStructure(t *testing.T) {
}
}
case *SectPr:
if v.PgSz.W.Value != "11906" || v.PgSz.H.Value != "16838" {
if v.PgSz.W != 11906 || v.PgSz.H != 16838 {
t.Fatalf("We were not able to parse sectPr")
}
}
Expand Down

0 comments on commit 3e5e3f4

Please sign in to comment.