@@ -84,7 +84,7 @@ public function testAddArgument()
84
84
$ this ->fail ('->addArgument() throws a Exception if another argument is already registered with the same name ' );
85
85
} catch (\Exception $ e ) {
86
86
$ this ->assertInstanceOf ('\Exception ' , $ e , '->addArgument() throws a Exception if another argument is already registered with the same name ' );
87
- $ this ->assertEquals ('An argument with name "foo" already exist . ' , $ e ->getMessage ());
87
+ $ this ->assertEquals ('An argument with name "foo" already exists . ' , $ e ->getMessage ());
88
88
}
89
89
90
90
// cannot add a parameter after an array parameter
@@ -215,14 +215,14 @@ public function testAddOption()
215
215
$ this ->fail ('->addOption() throws a Exception if the another option is already registered with the same name ' );
216
216
} catch (\Exception $ e ) {
217
217
$ this ->assertInstanceOf ('\Exception ' , $ e , '->addOption() throws a Exception if the another option is already registered with the same name ' );
218
- $ this ->assertEquals ('An option named "foo" already exist . ' , $ e ->getMessage ());
218
+ $ this ->assertEquals ('An option named "foo" already exists . ' , $ e ->getMessage ());
219
219
}
220
220
try {
221
221
$ definition ->addOption ($ this ->foo1 );
222
222
$ this ->fail ('->addOption() throws a Exception if the another option is already registered with the same shortcut ' );
223
223
} catch (\Exception $ e ) {
224
224
$ this ->assertInstanceOf ('\Exception ' , $ e , '->addOption() throws a Exception if the another option is already registered with the same shortcut ' );
225
- $ this ->assertEquals ('An option with shortcut "f" already exist . ' , $ e ->getMessage ());
225
+ $ this ->assertEquals ('An option with shortcut "f" already exists . ' , $ e ->getMessage ());
226
226
}
227
227
}
228
228
0 commit comments