const m = require("main");
const self = require("self");

exports.test_replace = function(test) {
    const input = "Hello World";
    const output = m.replace_mom(input);
    test.assertEqual(output, "Hello Mom");
    m.main(); // make sure it doesn't crash
}

exports.test_id = function(test) {
    test.assertEqual(self.id, "MyUniqueID");
    test.assertEqual(self.data.url("sample.html"),
                     "resource://reading-data-reading-data-data/sample.html");
}
