Skip to content

Commit ee8fae8

Browse files
committed
test(jqLite): adapt tests to new expando name
1 parent 1ec6d55 commit ee8fae8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/AngularSpec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,7 @@ describe('angular', function() {
798798
expect(function () {
799799
angular.bootstrap(element);
800800
}).toThrowMatching(
801-
/\[ng:btstrpd\] App Already Bootstrapped with this Element '<div class="?ng\-scope"?( ng\-[0-9]+="?[0-9]+"?)?>'/i
801+
/\[ng:btstrpd\] App Already Bootstrapped with this Element '<div class="?ng\-scope"?( ng[0-9]+="?[0-9]+"?)?>'/i
802802
);
803803

804804
dealoc(element);

test/helpers/testabilityPatch.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ function sortedHtml(element, showNgClass) {
167167
attr.name !='style' &&
168168
attr.name.substr(0, 6) != 'jQuery') {
169169
// in IE we need to check for all of these.
170-
if (/ng-\d+/.exec(attr.name) ||
170+
if (/ng\d+/.exec(attr.name) ||
171171
attr.name == 'getElementById' ||
172172
// IE7 has `selected` in attributes
173173
attr.name == 'selected' ||

0 commit comments

Comments
 (0)