Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/v3/compiler/tests/integration/test_runner_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -877,8 +877,14 @@ data suite: TestSuite = {
}

#[test]
fn r1_canonical_complexity_lens_bytes_include_cost_of() {
fn r1_canonical_complexity_lens_bytes_declare_complexity_of() {
let bytes = v3_compiler::test_runner::R1_CANONICAL_COMPLEXITY_LENS;
// Post-PR #2271 widening: `cost_of` (int-depth adapter) renamed/widened
// to `complexity_of` returning `Lookup<ComplexitySummary>` per
// `docs/v3-lens-capability-register.md` complexity.dag row promotion.
// The legacy `cost_of` Rust adapter still exists per the register row,
// but the canonical lens-bytes (`.dag` source) now declare
// `complexity_of` directly.
assert!(
bytes.contains("fn complexity_of"),
"canonical lens should declare complexity_of"
Expand Down
Loading