From 4a94bb9b345946a9efd51adaeedc0f907af4df49 Mon Sep 17 00:00:00 2001
From: Igor Minar
Date: Fri, 9 Mar 2012 14:49:40 -0800
Subject: fix(startTag): fix tagname extraction
the original code magically worked for ng:foo but for nothing else
---
 test/AngularSpec.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
(limited to 'test/AngularSpec.js')
diff --git a/test/AngularSpec.js b/test/AngularSpec.js
index 7e070761..92949b66 100644
--- a/test/AngularSpec.js
+++ b/test/AngularSpec.js
@@ -512,7 +512,8 @@ describe('angular', function() {
 
   describe('startingElementHtml', function(){
     it('should show starting element tag only', function(){
-      expect(startingTag('text
')).toEqual('');
+      expect(startingTag('text
')).
+          toBeOneOf('', '');
     });
   });
 
-- 
cgit v1.2.3