sogo: feature/mail-identities 3f7f7409

Author Committer Branch Timestamp Parent
the_nic francis feature/mail-identities 2020-05-16 02:28 feature/mail-identities d1700e81
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