3 var normaliseUri = require('../lib/normalise-uri');
4 var assert = require('assert');
6 describe('normalise-uri', function() {
25 parts: ['gitterHQ', 'x'],
40 FIXTURES.forEach(function(fixture) {
41 it('should handle ' + fixture.given, function() {
42 assert.deepEqual(normaliseUri.toParts(fixture.given), fixture.parts);
43 assert.strictEqual(normaliseUri.toPath(fixture.given), fixture.path);