Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit 0739a34

Browse files
committed
Fixes some more unit tests for Zend_Console_Getopt
1 parent 63b594d commit 0739a34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Zend/Console/GetoptTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ public function testVerifyRequiredArgument()
288288
'Expected Zend_Console_Getopt_Exception, got ' . get_class($e)
289289
);
290290
$this->assertEquals(
291-
'Option "a" requires a parameter.', $e->getMessage()
291+
'Option "$alias" requires a parameter.', $e->getMessage()
292292
);
293293
}
294294

@@ -331,7 +331,7 @@ public function testEmptyRequiredOption()
331331
'Expected Zend_Console_Getopt_Exception, got ' . get_class($e)
332332
);
333333
$this->assertEquals(
334-
'Option "$alias" requires a parameter.', $e->getMessage()
334+
'Option "a" requires a parameter.', $e->getMessage()
335335
);
336336
}
337337
}

0 commit comments

Comments
 (0)