Skip to content

Commit

Permalink
Merge pull request #1 from aleafs/master
Browse files Browse the repository at this point in the history
Add test case for url entries
  • Loading branch information
fengmk2 committed Nov 1, 2012
2 parents dca3a62 + 4ba9b5c commit fff088b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/urlencode.test.js
Expand Up @@ -24,6 +24,7 @@ describe('urlencode.test.js', function () {
[ '苏千', 'gbk', '%CB%D5%C7%A7' ],
[ '苏千,nodejs。!@#¥%……&**(&*)&)}{|~~!@+——?、》《。,“‘:;|、】【}{~·中文', 'gbk',
'%CB%D5%C7%A7%A3%AC%6E%6F%64%65%6A%73%A1%A3%A3%A1%40%23%A3%A4%25%A1%AD%A1%AD%26%2A%2A%A3%A8%26%2A%A3%A9%26%A3%A9%7D%7B%7C%7E%7E%A3%A1%40%2B%A1%AA%A1%AA%A3%BF%A1%A2%A1%B7%A1%B6%A1%A3%A3%AC%A1%B0%A1%AE%A3%BA%A3%BB%7C%A1%A2%A1%BF%A1%BE%7D%7B%7E%A1%A4%D6%D0%CE%C4' ],
[ '\\诚%http://github.com/aleafs?a=b&c[1]= &c2#', 'gbk', '%5C%B3%CF%25%68%74%74%70%3A%2F%2F%67%69%74%68%75%62%2E%63%6F%6D%2F%61%6C%65%61%66%73%3F%61%3D%62%26%63%5B%31%5D%3D%20%26%63%32%23']
];

items.forEach(function (item) {
Expand Down

0 comments on commit fff088b

Please sign in to comment.