mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
refactor: reorganize tools/test
module (#30590)
There are no functional changes in the code, it's just a refactor that moves code around to makes it easier to land https://github.com/denoland/deno/pull/30504
This commit is contained in:
parent
1ef0d0838e
commit
ada1580897
4 changed files with 449 additions and 358 deletions
|
@ -127,8 +127,9 @@ fn op_register_test(
|
|||
column_number,
|
||||
},
|
||||
};
|
||||
let container = state.borrow_mut::<TestContainer>();
|
||||
container.register(description, function);
|
||||
state
|
||||
.borrow_mut::<TestContainer>()
|
||||
.register(description, function);
|
||||
ret_buf.copy_from_slice(&(id as u32).to_le_bytes());
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue