Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
1,124 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
|
||
Pending specification: 1 | ||
./spec/UnionTypes.spec.php, line 119 | ||
|
||
Excluded specification: 1 | ||
./spec/UnionTypes.spec.php, line 126 | ||
|
||
Skipped specification: 1 | ||
./spec/UnionTypes.spec.php, line 134 | ||
|
||
Failure Tree(2): | ||
├── UnionTypes | ||
│ ├── ::assertTypes(string ...$types): void | ||
│ │ ├── UnionTypes::assertTypes('NULL') | ||
│ │ ✖ it should throw InvalidUnionTypeException `NULL`, use `null` instead | ||
expect->toBe() failed in `./spec/UnionTypes.spec.php` line 125 | ||
|
||
It expect actual to be identical to expected (===). | ||
|
||
actual: | ||
(string) "string" | ||
expected: | ||
(NULL) null | ||
|
||
├── UnionTypes | ||
│ ├── ::assertTypes(string ...$types): void | ||
│ │ ├── UnionTypes::assertTypes('integer') | ||
│ │ ✖ it should throw InvalidUnionTypeException `integer`, use `int` instead | ||
an uncaught exception has been thrown in `./vendor/kahlan/kahlan/src/Matcher/ToBe.php` line 13 | ||
|
||
message:`Kahlan\Spec\Suite\Reporter\Coverage\Exception` Code(0) with message "Too few arguments to function Kahlan\\Matcher\\ToBe::match(), 1 passed and exactly 2 expected" | ||
|
||
Kahlan\Matcher\ToBe::match() - ./vendor/kahlan/kahlan/src/Matcher/ToBe.php, line 13 | ||
Kahlan\Expectation::_spin() - ./vendor/kahlan/kahlan/src/Expectation.php, line 212 | ||
Kahlan\Expectation::__call() - ./spec/UnionTypes.spec.php, line 130 | ||
|
||
|
||
Expectations : 3 Executed | ||
Specifications : 1 Pending, 1 Excluded, 1 Skipped | ||
|
||
Passed 1 of 3 FAIL (FAILURE: 1, EXCEPTION: 1) in 0.040 seconds (using 2MB) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
✓ it should throw InvalidUnionTypeException `NULL`, use `null` instead | ||
✓ it should throw InvalidUnionTypeException `integer`, use `int` instead | ||
✓ it should return 'int' | ||
✓ it should return 'float' | ||
✖ it should return 'float' | ||
✖ it should return 'Cake\ORM\Table' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
_ _ | ||
/\ /\__ _| |__ | | __ _ _ __ | ||
/ //_/ _` | '_ \| |/ _` | '_ \ | ||
/ __ \ (_| | | | | | (_| | | | | | ||
\/ \/\__,_|_| |_|_|\__,_|_| |_| | ||
|
||
The PHP Test Framework for Freedom, Truth and Justice. | ||
|
||
src directory : /Volumes/Data/Git/github/kahlan/src | ||
spec directory : /Volumes/Data/Git/github/kahlan/spec | ||
|
||
Spec Tree: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
│ ├── ::assertTypes(string ...$types): void | ||
│ │ ├── UnionTypes::assertTypes('NULL') | ||
│ │ ├── UnionTypes::assertTypes('integer') | ||
│ ├── ::getType(mixed $value): string | ||
│ │ ├── UnionTypes::getType(1) |
Oops, something went wrong.