Page MenuHomeDevCentral

Allow to create empty OmniArray
ClosedPublic

Authored by dereckson on Jan 26 2022, 20:49.
Tags
None
Referenced Files
F4817861: D2491.diff
Thu, Feb 27, 11:00
Unknown Object (File)
Wed, Feb 26, 10:33
Unknown Object (File)
Tue, Feb 25, 11:45
Unknown Object (File)
Wed, Feb 19, 18:34
Unknown Object (File)
Sun, Feb 16, 16:20
Unknown Object (File)
Sun, Feb 16, 14:24
Unknown Object (File)
Sun, Feb 16, 06:24
Unknown Object (File)
Sat, Feb 15, 05:14
Subscribers
None

Details

Summary

This fixes the following issue:

ArgumentCountError : Too few arguments to function
Keruald\OmniTools\Collections\OmniArray::__construct(), 0 passed in
.../keruald/omnitools/src/Strings/Multibyte/OmniString.php on line 98
and exactly 1 expected
Test Plan

New test for OmniString::explode, which does trigger this code path.

Diff Detail

Repository
rKOT Keruald OmniTools
Lint
Lint Skipped
Unit
Tests Skipped
Branch
main
Build Status
Buildable 3881
Build 4132: arc lint + arc unit

Event Timeline

dereckson created this revision.

Move test plan to actual unit test

dereckson edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Jan 26 2022, 20:56
dereckson edited the summary of this revision. (Show Details)
This revision was automatically updated to reflect the committed changes.