Fix irclinky test

irclinky no longer does escaping itself, that is now done by DOMfilter.
Adapt the test case to reflect this change.
versionfix
Lorenz Hübschle-Schneider 10 years ago
parent cfad82ec3e
commit 420836974e
  1. 2
      test/unit/filters.js

@ -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>');
}));
});

Loading…
Cancel
Save