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:
parent
cfad82ec3e
commit
420836974e
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ describe('Filters', function() {
|
||||||
}));
|
}));
|
||||||
|
|
||||||
it('should not mess up IRC channels surrounded by HTML entities', inject(function(irclinkyFilter) {
|
it('should not mess up IRC channels surrounded by HTML entities', inject(function(irclinkyFilter) {
|
||||||
expect(irclinkyFilter('<"#foo">')).toEqual('<"<a href="#" onclick="var $scope = angular.element(event.target).scope(); $scope.openBuffer(\'#foo">\'); $scope.$apply();">#foo"></a>');
|
expect(irclinkyFilter('<"#foo">')).toEqual('<"<a href="#" onclick="var $scope = angular.element(event.target).scope(); $scope.openBuffer(\'#foo">\'); $scope.$apply();">#foo"></a>');
|
||||||
}));
|
}));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue