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 31bcb32 commit fd950b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,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 fd950b0

Please sign in to comment.