8000 InputDefinition: Fixed unit tests · symfony/symfony@60d371b · GitHub
[go: up one dir, main page]

Skip to content

Commit 60d371b

Browse files
committed
InputDefinition: Fixed unit tests
1 parent c099763 commit 60d371b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Symfony/Component/Console/Tests/Input/InputDefinitionTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public function testAddArgument()
8484
$this->fail('->addArgument() throws a Exception if another argument is already registered with the same name');
8585
} catch (\Exception $e) {
8686
$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());
8888
}
8989

9090
// cannot add a parameter after an array parameter
@@ -215,14 +215,14 @@ public function testAddOption()
215215
$this->fail('->addOption() throws a Exception if the another option is already registered with the same name');
216216
} catch (\Exception $e) {
217217
$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());
219219
}
220220
try {
221221
$definition->addOption($this->foo1);
222222
$this->fail('->addOption() throws a Exception if the another option is already registered with the same shortcut');
223223
} catch (\Exception $e) {
224224
$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());
226226
}
227227
}
228228

0 commit comments

Comments
 (0)
0