Commit Graph
5 Commits
Author SHA1 Message Date
dotCooCoo 0265dd5f52 Testkit: an empty table inside name or head no longer fails rename_family
The overlap check treated a table of length 0 whose offset points inside
the name or head table as sharing bytes, so rename_family returned
MalformedFont for a valid face. An overlap now needs at least one shared
byte. Nonempty overlapping tables are still refused.
2026-11-25 21:15:05 -08:00
dotCooCoo f825dd1b3f craft-testkit: font tests join the crate's one test binary
tests/fonts.rs moves to tests/it/fonts.rs and tests/it/main.rs adds it as a
module, so craft-testkit keeps a single integration test binary.
2026-11-25 19:27:25 -08:00
dotCooCoo 793744d7ce Testkit: a nested library loaded by its own targets stays a crate root
A `src/lib.rs` below another package's `src` folder was treated as a
module whenever any declaration named it, including one in its own
package's binary. Its `extern crate muda as m;` then did not reach its
modules, and a `::m::PredefinedMenuItem::quit` call there was missed.
Only a declaration outside the package's `build.rs` and its `src`,
`tests`, `examples` and `benches` folders now makes it a module.
2026-11-25 16:53:01 -08:00
dotCooCoo dc2e7e8a54 Merge main into feat/craft-testkit-guards 2026-11-25 15:09:52 -08:00
FredApps 62f44de3d6 Consolidate related support tests 2026-11-19 13:07:16 +01:00