We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expect::anyOf
before()
Version: v1.0.2
before() helper is not called on things nested in Expect::anyOf.
test(function() { // normalization through anyOf $schema = Expect::anyOf(Expect::string()->before(function($v) { return (string) $v; })); Assert::same('1', $schema->normalize(1, new Context)); });
before() should work consistently inside anyOf.
anyOf
The text was updated successfully, but these errors were encountered:
4fea57c
AnyOf: calls normalize() on items [Closes #25][Closes #18]
2ac00ac
No branches or pull requests
Version: v1.0.2
Bug Description
before()
helper is not called on things nested inExpect::anyOf
.Steps To Reproduce
Expected Behavior
before()
should work consistently insideanyOf
.The text was updated successfully, but these errors were encountered: