style: 自动格式化

This commit is contained in:
2026-06-14 17:21:49 +08:00
parent 8a8a6e055c
commit 111c61d4d7
23 changed files with 181 additions and 46 deletions
+5 -1
View File
@@ -204,6 +204,10 @@ fn function_default_prototype_accepts_member_assignment() {
"function Test262Error(message) { this.message = message || ''; } Test262Error.prototype.toString = function () { return this.message; }; new Test262Error('ok').toString()",
)
.unwrap();
let rendered = vm.kernel_core().string_forge().lookup(result.as_string_index()).unwrap_or_default();
let rendered = vm
.kernel_core()
.string_forge()
.lookup(result.as_string_index())
.unwrap_or_default();
assert_eq!(rendered, "ok");
}