Skip to content

Commit 337cd19

Browse files
authored
bench: refactor to use string interpolation in utils/some-by
PR-URL: #10867 Ref: #8647 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 4ea59e9 commit 337cd19

File tree

1 file changed

+2
-1
lines changed
  • lib/node_modules/@stdlib/utils/some-by/benchmark

1 file changed

+2
-1
lines changed

lib/node_modules/@stdlib/utils/some-by/benchmark/benchmark.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
var bench = require( '@stdlib/bench' );
2424
var isBoolean = require( '@stdlib/assert/is-boolean' ).isPrimitive;
2525
var isnan = require( '@stdlib/math/base/assert/is-nan' );
26+
var format = require( '@stdlib/string/format' );
2627
var pkg = require( './../package.json' ).name;
2728
var someBy = require( './../lib' );
2829

@@ -54,7 +55,7 @@ bench( pkg, function benchmark( b ) {
5455
b.end();
5556
});
5657

57-
bench( pkg+'::loop', function benchmark( b ) {
58+
bench( format( '%s::loop', pkg ), function benchmark( b ) {
5859
var total;
5960
var count;
6061
var bool;

0 commit comments

Comments
 (0)