aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test-util.js
blob: 5af8eee9618e6ffd57673bc518ad8a7cfa5ac144 (plain) (blame)
1
2
3
4
5
6
7
var util = require("util");

exports.ensureGetHost = function(test) {
    var uri = util.getHost("https://bugzilla.redhat.com/show_bug.cgi?id=597141");
    test.assertEqual(uri, "bugzilla.redhat.com", "checking right hostname from URL");
};