diff options
author | Matěj Cepl <mcepl@redhat.com> | 2010-05-31 19:03:04 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2010-05-31 19:03:04 +0200 |
commit | 2447e31a804eb7d7fe5ef01b974cba3b615e0594 (patch) | |
tree | f4487a9c0c10b476caa3c74f9871bd3e6617472d /tests | |
parent | 951ef0d578130106e303e5586f53404a900ccf9c (diff) | |
download | bugzilla-triage-2447e31a804eb7d7fe5ef01b974cba3b615e0594.tar.gz |
First attempt to split main script into modules.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-util.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test-util.js b/tests/test-util.js new file mode 100644 index 0000000..5af8eee --- /dev/null +++ b/tests/test-util.js @@ -0,0 +1,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"); +}; + |