diff options
Diffstat (limited to 'objective-c')
-rw-r--r-- | objective-c/test/Ice/servantLocator/AllTests.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/objective-c/test/Ice/servantLocator/AllTests.m b/objective-c/test/Ice/servantLocator/AllTests.m index b9c07fe11fc..3c4b7801a4a 100644 --- a/objective-c/test/Ice/servantLocator/AllTests.m +++ b/objective-c/test/Ice/servantLocator/AllTests.m @@ -96,7 +96,8 @@ testExceptions(id<TestServantLocatorTestIntfPrx> obj) } @catch(ICEUnknownLocalException* ex) { - test([ex.unknown rangeOfString:@"Ice::SocketException"].location != NSNotFound); + test([ex.unknown rangeOfString:@"Ice::SocketException"].location != NSNotFound || + [ex.unknown rangeOfString:@"Ice.SocketException"].location != NSNotFound); } @catch(id) { |