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:
Bartek Iwańczuk 2025-09-01 23:13:50 +02:00 committed by GitHub
parent 1ef0d0838e
commit ada1580897
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 449 additions and 358 deletions

View file

@ -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(())
}