Page MenuHomeDevCentral

Allow to create empty OmniArray
ClosedPublic

Authored by dereckson on Jan 26 2022, 20:49.
Tags
None
Referenced Files
F3748023: D2491.id6278.diff
Sat, Nov 16, 06:16
Unknown Object (File)
Wed, Nov 6, 05:57
Unknown Object (File)
Thu, Oct 31, 11:57
Unknown Object (File)
Wed, Oct 30, 20:42
Unknown Object (File)
Thu, Oct 24, 05:53
Unknown Object (File)
Tue, Oct 22, 03:32
Unknown Object (File)
Sun, Oct 20, 18:04
Unknown Object (File)
Sun, Oct 20, 14: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.