sogo: master fc863bf6

Author Committer Branch Timestamp Parent
the_nic the_nic master 2020-05-16 02:28 master 2e0fc3ca
Changeset

fix: Fix for failing test in NSString+Utilities

The test in TestNSString+Utilities would otherwise fail:

======================================================================
FAIL: test_countOccurrencesOfString (TestNSString+Utilities.m:46)

assertion failure

Simply leave the loop early if the substring length is zero to
avoid this issue

mod - SoObjects/SOGo/NSString+Utilities.m Diff File