mirror of
https://github.com/tenrok/axios.git
synced 2026-05-21 13:24:11 +03:00
13 lines
256 B
JavaScript
13 lines
256 B
JavaScript
var trim = require('../../../lib/utils').trim;
|
|
|
|
module.exports = {
|
|
testTrim: function (test) {
|
|
test.equals(trim(' foo '), 'foo');
|
|
test.done();
|
|
},
|
|
|
|
testTrimTab: function (test) {
|
|
test.equals(trim('\tfoo'), 'foo');
|
|
test.done();
|
|
}
|
|
}; |