Skip to content
New issue

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

relax test expectations for 8.3 #204

Merged
merged 1 commit into from
Sep 16, 2023
Merged

Conversation

remicollet
Copy link
Contributor

Without:

========DIFF========
     *** Testing not enough or wrong arguments ***
     Caught ArgumentCountError: Teds\all() expects at least 1 argument, 0 given
003- Caught TypeError: Teds\all(): Argument #1 ($iterable) must be of type %s, bool given
003+ Caught TypeError: Teds\all(): Argument #1 ($iterable) must be of type Traversable|array, true given
     bool(true)
005- Caught TypeError: Teds\all(): Argument #1 ($iterable) must be of type %s, bool given
005+ Caught TypeError: Teds\all(): Argument #1 ($iterable) must be of type Traversable|array, true given
     Caught TypeError: Teds\all(): Argument #2 ($callback) must be a valid callback%S, no array or string given
     
     *** Testing basic functionality ***
--
========DONE========
FAIL Test all() function [tests/iterable/all_array.phpt] 

========DIFF========
     *** Testing not enough or wrong arguments ***
     Caught ArgumentCountError: Teds\any() expects at least 1 argument, 0 given
003- Caught TypeError: Teds\any(): Argument #1 ($iterable) must be of type %s, bool given
003+ Caught TypeError: Teds\any(): Argument #1 ($iterable) must be of type Traversable|array, true given
     bool(false)
005- Caught TypeError: Teds\any(): Argument #1 ($iterable) must be of type %s, bool given
005+ Caught TypeError: Teds\any(): Argument #1 ($iterable) must be of type Traversable|array, true given
     Caught TypeError: Teds\any(): Argument #2 ($callback) must be a valid callback%S, no array or string given
     
     *** Testing basic functionality ***
--
========DONE========
FAIL Test any() function [tests/iterable/any_array.phpt] 

========DIFF========
     *** Testing not enough or wrong arguments ***
     Caught ArgumentCountError: Teds\none() expects at least 1 argument, 0 given
003- Caught TypeError: Teds\none(): Argument #1 ($iterable) must be of type %s, bool given
003+ Caught TypeError: Teds\none(): Argument #1 ($iterable) must be of type Traversable|array, true given
     bool(true)
005- Caught TypeError: Teds\none(): Argument #1 ($iterable) must be of type %s, bool given
005+ Caught TypeError: Teds\none(): Argument #1 ($iterable) must be of type Traversable|array, true given
     Caught TypeError: Teds\none(): Argument #2 ($callback) must be a valid callback%S, no array or string given
     
     *** Testing basic functionality ***
--
========DONE========
FAIL Test none() function [tests/iterable/none_array.phpt] 

--
       ["v_abc"]=>
       string(3) "v_x"
     }
009- Caught: Illegal offset type
009+ Caught: Cannot access offset of type array on array
     Test Teds\StrictTreeMap
     array(2) {
       ["def"]=>
--
       ["v_abc"]=>
       string(3) "v_x"
     }
018- Caught: Illegal offset type
018+ Caught: Cannot access offset of type array on array
     Test Teds\StrictHashMap
     array(2) {
       ["v_abc"]=>
--
       object(stdClass)#2 (0) {
       }
     }
027- Caught: Illegal offset type
027+ Caught: Cannot access offset of type array on array
========DONE========
FAIL Teds\Collection toArray() [tests/Map/toArray.phpt] 

@TysonAndre TysonAndre merged commit d9ca6bc into TysonAndre:main Sep 16, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants