Task to expand phpunit test coverage for \Drupal\Component\Utility\NestedArray to 100%.
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | nestedarray-phpunit-2050535-10.patch | 924 bytes | jhedstrom |
| #5 | interdiff.txt | 924 bytes | jhedstrom |
| #5 | nestedarray-phpunit-2050535-05.patch | 3.43 KB | jhedstrom |
| #1 | nestedarray-phpunit-2050535-01.patch | 3.88 KB | jhedstrom |
Comments
Comment #1
jhedstromThis patch gets 100% coverage. I also cleaned up the function declarations, and moved the test into the correct directory.
Comment #3
dawehnerThis looks pretty good, but I don't know yet why this is failing.
Comment #4
jhedstromAh, I bet it's the test that looks for an exception that's causing this:
Comment #5
jhedstromThat exception test isn't strictly necessary, it was basically testing default php behavior.
Comment #6
dawehnerAh I see.
Comment #7
alexpottCommitted 7ec526e and pushed to 8.x. Thanks!
Comment #8
tstoecklerSince this is such a quick issue so far, can we get a follow-up for the following, instead of a new issue? Thanks!
The message uses the wrong method name.
Comment #9
dawehneradd tag.
Comment #10
jhedstromPatch for #8.
Comment #11
dawehnerSeems valid.
Comment #12
alexpottCommitted b0c8255 and pushed to 8.x. Thanks!
Comment #14
jhedstrom