Fix irclinky test

irclinky no longer does escaping itself, that is now done by DOMfilter.
Adapt the test case to reflect this change.
This commit is contained in:
Lorenz Hübschle-Schneider 2015-06-08 23:42:57 +02:00
parent cfad82ec3e
commit 420836974e

View file

@ -20,7 +20,7 @@ describe('Filters', function() {
}));
it('should not mess up IRC channels surrounded by HTML entities', inject(function(irclinkyFilter) {
expect(irclinkyFilter('<"#foo">')).toEqual('&lt;&quot;<a href="#" onclick="var $scope = angular.element(event.target).scope(); $scope.openBuffer(\'#foo&quot;&gt;\'); $scope.$apply();">#foo&quot;&gt;</a>');
expect(irclinkyFilter('<"#foo">')).toEqual('<"<a href="#" onclick="var $scope = angular.element(event.target).scope(); $scope.openBuffer(\'#foo">\'); $scope.$apply();">#foo"></a>');
}));
});