Skip to content

Commit 5eedd38

Browse files
chirayukdsalsbury
authored andcommitted
chore(testing): fix typo
1 parent 968e2d0 commit 5eedd38

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/mock/test_injection.dart

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ _SpecInjector _currentSpecInjector = null;
1010
class _SpecInjector {
1111
Injector moduleInjector;
1212
Injector injector;
13-
dynamic injectiorCreateLocation;
13+
dynamic injectorCreateLocation;
1414
final modules = <Module>[];
1515
final initFns = <Function>[];
1616

@@ -29,8 +29,8 @@ class _SpecInjector {
2929
}
3030

3131
module(fnOrModule, [declarationStack]) {
32-
if (injectiorCreateLocation != null) {
33-
throw "Injector already created at:\n$injectiorCreateLocation";
32+
if (injectorCreateLocation != null) {
33+
throw "Injector already created at:\n$injectorCreateLocation";
3434
}
3535
try {
3636
if (fnOrModule is Function) {
@@ -49,7 +49,7 @@ class _SpecInjector {
4949
inject(Function fn, [declarationStack]) {
5050
try {
5151
if (injector == null) {
52-
injectiorCreateLocation = declarationStack;
52+
injectorCreateLocation = declarationStack;
5353
injector = new ModuleInjector(modules); // Implicit injection is disabled.
5454
initFns.forEach((fn) {
5555
_invoke(injector, fn);
@@ -63,7 +63,7 @@ class _SpecInjector {
6363

6464
reset() {
6565
injector = null;
66-
injectiorCreateLocation = null;
66+
injectorCreateLocation = null;
6767
}
6868

6969
_invoke(Injector injector, Function fn) {

0 commit comments

Comments
 (0)