Skip to content

Commit

Permalink
[Tests] always use String(x) over x.toString()
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Feb 14, 2019
1 parent c9720fe commit 04a9017
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parse.js
Expand Up @@ -564,7 +564,7 @@ test('parse()', function (t) {
result.push(parseInt(parts[1], 16));
parts = reg.exec(str);
}
return iconv.decode(SaferBuffer.from(result), 'shift_jis').toString();
return String(iconv.decode(SaferBuffer.from(result), 'shift_jis'));
}
}), { : '大阪府' });
st.end();
Expand Down

0 comments on commit 04a9017

Please sign in to comment.