node-browser-compat.js/atob/test.js

15 lines
225 B
JavaScript
Raw Normal View History

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');
}());