|
|
@ -115,7 +115,7 @@ func TestPagesInPagesOut(t *testing.T) { |
|
|
|
t.Fatalf("couldn't get content from the test environment: %v", err) |
|
|
|
t.Fatalf("couldn't get content from the test environment: %v", err) |
|
|
|
} |
|
|
|
} |
|
|
|
if len(c)-1 != i { |
|
|
|
if len(c)-1 != i { |
|
|
|
t.Fatalf("expected %d page, but saw %d pages", i-1, len(c)) |
|
|
|
t.Fatalf("expected %d page, but saw %d pages", i+1, len(c)) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
@ -127,6 +127,9 @@ func TestPagesInPagesOut(t *testing.T) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
for _, content := range c { |
|
|
|
for _, content := range c { |
|
|
|
|
|
|
|
if content.Metadata == nil { |
|
|
|
|
|
|
|
t.Errorf("didn't see metadata for %q", content.Filename) |
|
|
|
|
|
|
|
} |
|
|
|
found[content.Filename] = true |
|
|
|
found[content.Filename] = true |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|