mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-12-23 15:50:11 -05:00
test: make the 'heap_limits' test run a lot faster (#972)
This commit is contained in:
parent
2f189e1668
commit
8b36e84060
1 changed files with 2 additions and 3 deletions
|
@ -4727,9 +4727,8 @@ fn heap_limits() {
|
|||
"hello 🦕 world"
|
||||
.repeat(10)
|
||||
.split("🦕")
|
||||
.map((s) => s.split(""))
|
||||
.shift()
|
||||
"#,
|
||||
.map((s) => s.repeat(100).split("o"))
|
||||
"#,
|
||||
)
|
||||
.unwrap();
|
||||
if test_state.near_heap_limit_callback_calls > 0 {
|
||||
|
|
Loading…
Reference in a new issue