Skip to content

Cover Expr serialize_highlight single target - #108

Open
MesTTo wants to merge 1 commit into
trueagi-io:mainfrom
MesTTo:pr/mork-expr-tests
Open

Cover Expr serialize_highlight single target#108
MesTTo wants to merge 1 commit into
trueagi-io:mainfrom
MesTTo:pr/mork-expr-tests

Conversation

@MesTTo

@MesTTo MesTTo commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Adds a focused test for Expr::serialize_highlight, which had no coverage. The test parses a small expression, highlights a single target subterm, and asserts the exact ANSI-wrapped output, so the highlight offset handling stays correct.

No syntax changes, no new features, test-only.

Validation:

  • CARGO_HOME=/home/user/Dev/.cargo-isolated RUSTFLAGS='-C target-cpu=native -Awarnings' cargo +nightly test -p mork-expr --test serialization
  • rustfmt +nightly --edition 2024 --check expr/tests/serialization.rs
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant