gecko/services/sync/tests/unit/test_utils_atob.js
2010-11-29 16:41:17 -08:00

9 lines
205 B
JavaScript

Cu.import("resource://services-sync/util.js");
function run_test() {
let data = ["Zm9vYmE=", "Zm9vYmE==", "Zm9vYmE==="];
for (let d in data) {
do_check_eq(Utils.safeAtoB(data[d]), "fooba");
}
}