From e281413919db26dbb0cc1d4b892d22fd0475fb68 Mon Sep 17 00:00:00 2001
From: Igor Minar
Date: Mon, 25 Feb 2013 20:43:27 -0800
Subject: chore(sortedHtml): print attributes with empty value
I had to also fix some tests as they started failing on IE8.
We should figure out why these extra attributes are set in IE8,
but I'm too tired of IE to worry about it now. Since I'm
not introducing this issue just making it visible, I'm going
to commit this as is.
---
test/ng/compileSpec.js | 28 ++++++++++++++++++----------
test/testabilityPatch.js | 2 +-
2 files changed, 19 insertions(+), 11 deletions(-)
(limited to 'test')
diff --git a/test/ng/compileSpec.js b/test/ng/compileSpec.js
index ddcd8270..163eefba 100644
--- a/test/ng/compileSpec.js
+++ b/test/ng/compileSpec.js
@@ -741,12 +741,16 @@ describe('$compile', function() {
$rootScope.$digest();
- expect(sortedHtml(element)).
- toEqual('