From 04e87f0926734358fa6c5fcb1c6b6893016b6172 Mon Sep 17 00:00:00 2001 From: Christian Liebel Date: Sat, 25 Oct 2014 09:37:38 +0200 Subject: [PATCH] test(ngSanitize): fix test descriptions SVG attribute test splitted, descriptions changed accordingly Related to #9770 --- test/ngSanitize/sanitizeSpec.js | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/test/ngSanitize/sanitizeSpec.js b/test/ngSanitize/sanitizeSpec.js index 69eb8a9f0ff2..fa1bd6f29922 100644 --- a/test/ngSanitize/sanitizeSpec.js +++ b/test/ngSanitize/sanitizeSpec.js @@ -239,22 +239,24 @@ describe('HTML', function() { }); it('should accept SVG tags', function() { - expectHTML('') - .toEqual(''); + expectHTML('') + .toEqual(''); }); - it('should sanitize SVG xmlns:xlink attribute values', function() { - expectHTML('') - .toEqual(''); + it('should sanitize SVG xlink:href attribute values', function() { + expectHTML('') + .toEqual(''); - expectHTML('') - .toEqual(''); + expectHTML('') + .toEqual(''); + }); - expectHTML('') - .toEqual(''); + it('should sanitize unknown namespaced SVG attributes', function() { + expectHTML('') + .toEqual(''); - expectHTML('') - .toEqual(''); + expectHTML('') + .toEqual(''); }); describe('htmlSanitizerWriter', function() {