Page MenuHomeDevCentral

Allow to create empty OmniArray
ClosedPublic

Authored by dereckson on Jan 26 2022, 20:49.
Tags
None
Referenced Files
F54353964: D2491.diff
Sat, Oct 17, 16:38
F54350415: D2491.id6279.diff
Sat, Oct 17, 15:37
Unknown Object (File)
Tue, Oct 13, 08:41
Unknown Object (File)
Mon, Oct 12, 03:27
Unknown Object (File)
Sat, Oct 10, 21:49
Unknown Object (File)
Sat, Oct 10, 18:34
Unknown Object (File)
Sat, Oct 10, 18:19
Unknown Object (File)
Sat, Oct 10, 12:19
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.