2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-17 19:21:29 +03:00

Moving utility functions into utils

This commit is contained in:
Matt Zabriskie
2014-08-28 12:33:53 -06:00
parent ceca9ced47
commit cec3482ff7
17 changed files with 971 additions and 647 deletions
+13
View File
@@ -0,0 +1,13 @@
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();
}
};