first commit
This commit is contained in:
commit
eb2f504652
32490 changed files with 5731109 additions and 0 deletions
16
node_modules/btoa/test.js
generated
vendored
Normal file
16
node_modules/btoa/test.js
generated
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
/*jshint strict:true node:true es5:true onevar:true laxcomma:true laxbreak:true eqeqeq:true immed:true latedef:true*/
|
||||
(function () {
|
||||
"use strict";
|
||||
|
||||
var btoa = require('./index')
|
||||
, encoded = "SGVsbG8sIBZM"
|
||||
, unencoded = "Hello, 世界"
|
||||
;
|
||||
|
||||
if (encoded !== btoa(unencoded)) {
|
||||
console.error('[FAIL]', encoded, btoa(unencoded));
|
||||
return;
|
||||
}
|
||||
|
||||
console.log('[PASS] all tests pass');
|
||||
}());
|
||||
Loading…
Add table
Add a link
Reference in a new issue