From a3a263727221db47ed284b9d44e0f731cf38c818 Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Tue, 18 Oct 2022 21:24:09 +0000 Subject: [PATCH] Auto-generated commit --- truncate/benchmark/benchmark.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/truncate/benchmark/benchmark.js b/truncate/benchmark/benchmark.js index 175d1c7f..e2838175 100644 --- a/truncate/benchmark/benchmark.js +++ b/truncate/benchmark/benchmark.js @@ -57,7 +57,7 @@ function createBenchmark( len ) { } } b.toc(); - if ( typeof out !== 'string' ) { + if ( !isString( out ) ) { b.fail( 'should return a string' ); } b.pass( 'benchmark finished' );