From ed4774f436487d96ca120e8fc12b77b239635dfb Mon Sep 17 00:00:00 2001 From: pjh456 <147148383@qq.com> Date: Fri, 11 Sep 2026 12:56:11 +0000 Subject: [PATCH] =?UTF-8?q?test:=20=E5=88=86=E9=85=8D=E4=B8=8A=E9=99=90?= =?UTF-8?q?=E5=B8=B8=E9=87=8F=E4=B8=8E=E9=94=99=E8=AF=AF=E4=B8=B2=E5=8D=95?= =?UTF-8?q?=E6=B5=8B=E5=AD=97=E9=9D=A2=E5=80=BC=E6=9C=BA=E5=99=A8=E8=80=A6?= =?UTF-8?q?=E5=90=88=E6=96=AD=E8=A8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/oxide_test262/src/main.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/crates/oxide_test262/src/main.rs b/crates/oxide_test262/src/main.rs index 9d6a1fe2..d878480c 100644 --- a/crates/oxide_test262/src/main.rs +++ b/crates/oxide_test262/src/main.rs @@ -1950,6 +1950,12 @@ mod tests { assert_outcome(e, None, true, &TestOutcome::Fail("".into())); } + /// 分配上限常量与错误串单测的字面值机器耦合:改 cap 本钉必红。 + #[test] + fn runner_alloc_cap_matches_error_string_tests() { + assert_eq!(build_runner_kernel().config.max_alloc_bytes, Some(512 * 1024 * 1024)); + } + /// 能力未实现形态保留 skip;`--no-skip` 下转 fail。 #[test] fn unimplemented_shapes_stay_skipped() {