Skip to content

Commit

Permalink
Add comment for clarity. Fix #2
Browse files Browse the repository at this point in the history
  • Loading branch information
john-arcus committed Apr 26, 2018
1 parent b7ce5c7 commit b38ad8d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion features/bootstrap/FeatureContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ class FeatureContext implements Context
{
//By convention, any succesful cli command should return 0 upon success.
const STANDARD_SUCCESFUL_EXITCODE = 0;

//Assertion library
protected $assert;

/**
* Initializes context.
*
Expand All @@ -23,7 +27,10 @@ class FeatureContext implements Context
*/
public function __construct()
{
$this->assert = new ConcreteAssert();
//Get the assertion library up and running.
//Currently this is simply a concrete version of `PHPUnit\Framework\Assert`.
//See PHPUnit docs for usages.
$this->assert = new ConcreteAssert();
}

/**
Expand Down

0 comments on commit b38ad8d

Please sign in to comment.