#3866: tests_linear imports Page and Rgb (main's layout tests didn't compile after #4392)

#4392's tests used Page and Rgb, which other changes merged around it no longer
brought into scope, so main's CI gate fails with E0425/E0422 in tests_linear.rs.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HUodYU9r4mPHed4pPsjHC2
This commit is contained in:
Martin Ball
2026-10-26 08:08:46 +00:00
co-authored by Claude Opus 5.5
parent 2c99a42780
commit 49c2f61373
+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 {