atob.js/test.js

15 行
225 B
JavaScript

2011-09-09 04:18:42 +00:00
(function () {
"use strict";
var atob = require('./index')
, expected = "SGVsbG8gV29ybGQ="
, result
;
if (expected !== atob("Hello World")) {
return;
}
console.log('[PASS] all tests pass');
}());