Merge pull request #4401 from benandez/fix/main-tests-linear-imports

#3866: fix main's layout test build (tests_linear imports Page and Rgb)
This commit is contained in:
Dylan M. Taylor
2026-10-26 07:27:16 -04:00
committed by GitHub
+3 -2
View File
@@ -7,10 +7,11 @@
use super::tests::{SCALE, cost_ratio};
use super::{
Block, CharProps, DocLayout, Document, HeaderSet, HeightRule, InlineObject, LayoutCache, LayoutOptions, ParaLayout, Paragraph, Path, Placed,
SectionProps, SectionStart, StoryRef, display, layout, para, work,
Block, CharProps, DocLayout, Document, HeaderSet, HeightRule, InlineObject, LayoutCache, LayoutOptions, Page, ParaLayout, Paragraph, Path,
Placed, SectionProps, SectionStart, StoryRef, display, layout, para, work,
};
use wordcraft_doc::para::Run;
use wordcraft_doc::props::Rgb;
use wordcraft_doc::{Pos, Table};
fn lay(d: &Document, opts: &LayoutOptions) -> DocLayout {