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

Commit 0ab2910

Browse files
committed
test(*): fix some inconsequential typos
* synopsis * params * template
1 parent 74c19f0 commit 0ab2910

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

gdocs.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ if (flag === '--login') {
3939
}
4040

4141
function help() {
42-
console.log('Synopsys');
42+
console.log('Synopsis');
4343
console.log('gdocs.js --login <username>');
4444
console.log('gdocs.js --fetch [<docs collection>]');
4545
process.exit(-1);

test/auto/injectorSpec.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ describe('injector', function() {
192192

193193

194194
it('should create $inject', function() {
195-
var extraParans = angular.noop;
195+
var extraParams = angular.noop;
196196
/* eslint-disable space-before-function-paren */
197197
// keep the multi-line to make sure we can handle it
198198
function $f_n0 /*
@@ -203,7 +203,7 @@ describe('injector', function() {
203203
function(a, b) {}
204204
*/
205205
_c,
206-
/* {some type} */ d) { extraParans(); }
206+
/* {some type} */ d) { extraParams(); }
207207
/* eslint-enable */
208208
expect(annotate($f_n0)).toEqual(['$a', 'b_', '_c', 'd']);
209209
expect($f_n0.$inject).toEqual(['$a', 'b_', '_c', 'd']);

test/ng/compileSpec.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -11935,13 +11935,13 @@ describe('$compile', function() {
1193511935
testReplaceElementCleanup({});
1193611936
});
1193711937
it('should clean data of elements removed for directive templateUrl', function() {
11938-
testReplaceElementCleanup({asyncTmeplate: true});
11938+
testReplaceElementCleanup({asyncTemplate: true});
1193911939
});
1194011940
it('should clean data of elements transcluded into directive template', function() {
1194111941
testReplaceElementCleanup({transclude: true});
1194211942
});
1194311943
it('should clean data of elements transcluded into directive templateUrl', function() {
11944-
testReplaceElementCleanup({transclude: true, asyncTmeplate: true});
11944+
testReplaceElementCleanup({transclude: true, asyncTemplate: true});
1194511945
});
1194611946
it('should clean data of elements replaced with directive template', function() {
1194711947
testReplaceElementCleanup({replace: true});

test/ng/directive/selectSpec.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ describe('select', function() {
383383
scope.robot = '';
384384
compile('<select ng-model="robot">' +
385385
'<option ng-repeat="opt in dynamicOptions" value="{{opt.val}}">{{opt.display}}</option>' +
386-
'</selec>');
386+
'</select>');
387387
expect(element).toEqualSelect(['? string: ?']);
388388

389389

@@ -420,7 +420,7 @@ describe('select', function() {
420420
compile('<select ng-model="robot">' +
421421
'<option value="">--static-select--</option>' +
422422
'<option ng-repeat="opt in dynamicOptions" value="{{opt.val}}">{{opt.display}}</option>' +
423-
'</selec>');
423+
'</select>');
424424
scope.$digest();
425425
expect(element).toEqualSelect([unknownValue('x')], '');
426426

0 commit comments

Comments
 (0)