@@ -824,8 +824,8 @@ describe('$compile', function() {
824
824
inject ( function ( $compile ) {
825
825
expect ( function ( ) {
826
826
$compile ( '<div><div class="sync async"></div></div>' ) ;
827
- } ) . toThrow ( 'Multiple directives [sync, async] asking for template on: < ' +
828
- ( msie <= 8 ? 'DIV' : ' div' ) + ' class="sync async">') ;
827
+ } ) . toThrow ( 'Multiple directives [sync, async] asking for template on: ' +
828
+ '< div class="sync async">') ;
829
829
} ) ;
830
830
} ) ;
831
831
@@ -1212,8 +1212,7 @@ describe('$compile', function() {
1212
1212
expect ( function ( ) {
1213
1213
$compile ( '<div class="iscope-a; scope-b"></div>' ) ;
1214
1214
} ) . toThrow ( 'Multiple directives [iscopeA, scopeB] asking for isolated scope on: ' +
1215
- '<' + ( msie < 9 ? 'DIV' : 'div' ) +
1216
- ' class="iscope-a; scope-b ng-isolate-scope ng-scope">' ) ;
1215
+ '<div class="iscope-a; scope-b ng-isolate-scope ng-scope">' ) ;
1217
1216
} )
1218
1217
) ;
1219
1218
@@ -1223,8 +1222,7 @@ describe('$compile', function() {
1223
1222
expect ( function ( ) {
1224
1223
$compile ( '<div class="iscope-a; iscope-b"></div>' ) ;
1225
1224
} ) . toThrow ( 'Multiple directives [iscopeA, iscopeB] asking for isolated scope on: ' +
1226
- '<' + ( msie < 9 ? 'DIV' : 'div' ) +
1227
- ' class="iscope-a; iscope-b ng-isolate-scope ng-scope">' ) ;
1225
+ '<div class="iscope-a; iscope-b ng-isolate-scope ng-scope">' ) ;
1228
1226
} )
1229
1227
) ;
1230
1228
@@ -1978,8 +1976,8 @@ describe('$compile', function() {
1978
1976
inject ( function ( $compile ) {
1979
1977
expect ( function ( ) {
1980
1978
$compile ( '<div class="first second"></div>' ) ;
1981
- } ) . toThrow ( 'Multiple directives [first, second] asking for transclusion on: < ' +
1982
- ( msie <= 8 ? 'DIV' : ' div' ) + ' class="first second ng-isolate-scope ng-scope">') ;
1979
+ } ) . toThrow ( 'Multiple directives [first, second] asking for transclusion on: ' +
1980
+ '< div class="first second ng-isolate-scope ng-scope">') ;
1983
1981
} ) ;
1984
1982
} ) ;
1985
1983
0 commit comments