Skip to content

Commit f6663b4

Browse files
Brian Fitzpatrickpetebacondarwin
Brian Fitzpatrick
authored andcommitted
test($compile): fix spelling error in assertion (ngAttr*)
The string 'test2' should be 'test3' as 'test2' has already been tested with the previous assertion.
1 parent 258e986 commit f6663b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ng/compileSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3064,7 +3064,7 @@ describe('$compile', function() {
30643064
element = $compile('<span ng:attr:test="{{name}}" ng-Attr-test2="{{name}}" ng_Attr_test3="{{name}}"></span>')($rootScope);
30653065
expect(element.attr('test')).toBeUndefined();
30663066
expect(element.attr('test2')).toBeUndefined();
3067-
expect(element.attr('test2')).toBeUndefined();
3067+
expect(element.attr('test3')).toBeUndefined();
30683068
$rootScope.$digest();
30693069
expect(element.attr('test')).toBe('Misko');
30703070
expect(element.attr('test2')).toBe('Misko');

0 commit comments

Comments
 (0)