benchmark: don't use template strings

When running benchmark/compare.js, it is typical to run a version of
node that does not support template strings. This provides backwards
compatibility for comparing benchmarks using older versions of node.

PR-URL: https://github.com/iojs/io.js/pull/714
Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
pull/697/merge
Evan Lucas 2015-02-04 02:24:28 -06:00 committed by Evan Lucas
parent 8ac8b760ac
commit 3e675e44b5
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ if (module === require.main) {
});
if (filteredTests.length === 0) {
console.error(`${testFilter} is not found in \n ${tests.join(' \n')}`);
console.error('%s is not found in \n %j', testFilter, tests);
return;
}
tests = filteredTests;