Page MenuHomeDevCentral

Allow to create empty OmniArray
ClosedPublic

Authored by dereckson on Jan 26 2022, 20:49.
Tags
None
Referenced Files
F3598827: D2491.diff
Sat, Sep 28, 03:21
Unknown Object (File)
Mon, Sep 16, 22:44
Unknown Object (File)
Sat, Sep 14, 03:44
Unknown Object (File)
Thu, Sep 12, 08:02
Unknown Object (File)
Thu, Sep 12, 06:54
Unknown Object (File)
Thu, Sep 12, 05:31
Unknown Object (File)
Thu, Sep 12, 02:59
Unknown Object (File)
Thu, Sep 12, 02:08
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 3882
Build 4133: 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.