git.delta.rocks / jrsonnet / refs/commits / 5858c9313e03

difftreelog

source

tests/cpp_benchmarks/bench.09.jsonnet346 Bsourcehistory
1// This string must be longer than max stack frames2local veryLongString = std.join('', std.repeat(['e'], 510));34std.assertEqual(std.stripChars(veryLongString + 'ok' + veryLongString, 'e'), 'ok') &&5std.assertEqual(std.lstripChars(veryLongString + 'ok', 'e'), 'ok') &&6std.assertEqual(std.rstripChars('ok' + veryLongString, 'e'), 'ok') &&78true