aboutsummaryrefslogtreecommitdiffstats
path: root/interior_test.go
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2026-05-15 11:25:17 -0400
committerSam Anthony <sam@samanthony.xyz>2026-05-15 11:25:17 -0400
commit9e8867c3c6fe7a59e036e810836b8ee8f86ce10f (patch)
treef128fe62b533e7c68782dd5e2a1c3774ff44d438 /interior_test.go
parenta694f64b1708183736a1b1b826e8890d354f5c2f (diff)
downloadlulu-9e8867c3c6fe7a59e036e810836b8ee8f86ce10f.zip
fmt
Diffstat (limited to 'interior_test.go')
-rw-r--r--interior_test.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/interior_test.go b/interior_test.go
index 804e487..1e7ec7c 100644
--- a/interior_test.go
+++ b/interior_test.go
@@ -2,8 +2,8 @@ package lulu
import (
"context"
- "testing"
_ "embed"
+ "testing"
"github.com/stretchr/testify/require"
)
@@ -41,11 +41,11 @@ var interiorValidationRespJson string
func TestUnmarshalInteriorValidation(t *testing.T) {
t.Parallel()
val := InteriorValidation{
- Id: 1,
- SrcUrl: "https://www.dropbox.com/sh/p3zh22vzsaegiri/AACOUn3LFKsITDzylh13bQpsa/161025/thesis2.pdf?dl=1",
- NPages: 210,
- Errors: []string{"Book Size: The book size you selected does not match the page size in the file you uploaded."},
- Status: InteriorStatusValidating,
+ Id: 1,
+ SrcUrl: "https://www.dropbox.com/sh/p3zh22vzsaegiri/AACOUn3LFKsITDzylh13bQpsa/161025/thesis2.pdf?dl=1",
+ NPages: 210,
+ Errors: []string{"Book Size: The book size you selected does not match the page size in the file you uploaded."},
+ Status: InteriorStatusValidating,
ValidPkgIds: nil,
}
requireUnmarshalJsonEq(t, val, interiorValidationRespJson)