0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-11-21 15:04:33 -05:00

test: make the 'heap_limits' test run a lot faster (#972)

This commit is contained in:
Bert Belder 2022-05-18 11:40:19 +02:00
parent 2f189e1668
commit 8b36e84060
No known key found for this signature in database
GPG key ID: 7A77887B2E2ED461

View file

@ -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 {