diff --git a/src/v3/compiler/tests/integration/test_runner_test.rs b/src/v3/compiler/tests/integration/test_runner_test.rs index 995a8c06305..4d0541f78e7 100644 --- a/src/v3/compiler/tests/integration/test_runner_test.rs +++ b/src/v3/compiler/tests/integration/test_runner_test.rs @@ -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` 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"