diff --git a/packages/core/test/render3/instructions_spec.ts b/packages/core/test/render3/instructions_spec.ts index 9aeade3a2f..35ed8b3d5c 100644 --- a/packages/core/test/render3/instructions_spec.ts +++ b/packages/core/test/render3/instructions_spec.ts @@ -497,10 +497,6 @@ describe('instructions', () => { 'title', 'abc', - // style="background: #dead11" - 'style', - 'background: #dead11', - // NS1:whatever="wee" AttributeMarker.NAMESPACE_URI, 'http://www.example.com/2014/test', @@ -516,19 +512,16 @@ describe('instructions', () => { }); const standardHTML = - '
'; - const ieHTML = - '
'; + '
'; - expect([standardHTML, ieHTML]).toContain(t.html); + expect(t.html).toEqual(standardHTML); const div = t.hostElement.querySelector('#container'); - expect(div !.attributes.length).toBe(5); + expect(div !.attributes.length).toBe(4); const expectedAttributes: {[key: string]: string} = { 'id': 'container', 'http://www.example.com/2014/test:title': 'abc', - 'style': 'background: #dead11', 'http://www.example.com/2014/test:whatever': 'wee', 'http://www.whatever.com/2016/blah:shazbot': 'wocka wocka', };