Skip to content
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.

Commit

Permalink
feat(case-insensitive operator) test cast to lower with non-ASCII
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierozi committed Mar 16, 2017
1 parent e54b7ef commit f4fd9bf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Test/Unit/Visitor/Asserter.php
Original file line number Diff line number Diff line change
Expand Up @@ -425,13 +425,13 @@ public function case_set_operator_insensitive()
$asserter = new SUT(),
$operator = function () {}
)
->when($result = $asserter->setOperator('_FOO_', $operator))
->when($result = $asserter->setOperator('_FΛO_', $operator))
->then
->boolean($asserter->operatorExists('_FOO_'))
->isFalse()
->boolean($asserter->operatorExists('_foo_'))
->boolean($asserter->operatorExists('_FΛO_'))
->isTrue()
->object($asserter->getOperator('_foo_'))
->boolean($asserter->operatorExists('_fλo_'))
->isTrue()
->object($asserter->getOperator('_fλo_'))
->isEqualTo(xcallable($operator));
}

Expand Down

0 comments on commit f4fd9bf

Please sign in to comment.