mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-23 18:21:13 +08:00
test: 分配上限常量与错误串单测字面值机器耦合断言
This commit is contained in:
@@ -1950,6 +1950,12 @@ mod tests {
|
|||||||
assert_outcome(e, None, true, &TestOutcome::Fail("".into()));
|
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。
|
/// 能力未实现形态保留 skip;`--no-skip` 下转 fail。
|
||||||
#[test]
|
#[test]
|
||||||
fn unimplemented_shapes_stay_skipped() {
|
fn unimplemented_shapes_stay_skipped() {
|
||||||
|
|||||||
Reference in New Issue
Block a user