Skip to content

Commit 0df63b6

Browse files
committed
Fix benchmark name separator parsing
1 parent 23a9709 commit 0df63b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mx.truffleruby/mx_truffleruby_benchmark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ def runBenchmark(self, benchmark, bmSuiteArgs):
305305
raise AssertionError("Unknown benchmark kind: " + self.config()['kind'])
306306

307307
if ':' in benchmark:
308-
benchmark_file, benchmark_name = benchmark.split(':', 2)
308+
benchmark_file, _, benchmark_name = benchmark.partition(':')
309309
benchmark_names = [benchmark_name]
310310
else:
311311
benchmark_file = benchmark

0 commit comments

Comments
 (0)