Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit b8807dc

Browse files
committed
fix($compile): review remarks
1 parent a3a91aa commit b8807dc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/ng/compileSpec.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ describe('$compile', function() {
294294
inject(function($compile) {});
295295
});
296296

297-
it('should omit special chars before processing attribute directive name', function() {
297+
it('should ignore special chars before processing attribute directive name', function() {
298298
// a regression https://github.com/angular/angular.js/issues/16278
299299
module(function() {
300300
directive('t', function(log) {
@@ -308,9 +308,9 @@ describe('$compile', function() {
308308
});
309309
});
310310
inject(function($compile, $rootScope, log) {
311-
element = $compile('<div _t></div>')($rootScope);
312-
element = $compile('<div -t></div>')($rootScope);
313-
element = $compile('<div :t></div>')($rootScope);
311+
$compile('<div _t></div>')($rootScope);
312+
$compile('<div -t></div>')($rootScope);
313+
$compile('<div :t></div>')($rootScope);
314314
expect(log).toEqual('pre; post; pre; post; pre; post');
315315
});
316316
});

0 commit comments

Comments
 (0)