summaryrefslogtreecommitdiff
path: root/swift/test
diff options
context:
space:
mode:
Diffstat (limited to 'swift/test')
-rw-r--r--swift/test/Ice/servantLocator/ServantLocatorI.swift5
1 files changed, 5 insertions, 0 deletions
diff --git a/swift/test/Ice/servantLocator/ServantLocatorI.swift b/swift/test/Ice/servantLocator/ServantLocatorI.swift
index a4ed8c5ee9f..99e7220620c 100644
--- a/swift/test/Ice/servantLocator/ServantLocatorI.swift
+++ b/swift/test/Ice/servantLocator/ServantLocatorI.swift
@@ -43,6 +43,11 @@ class ServantLocatorI: Ice.ServantLocator {
return (nil, nil)
}
+ if(curr.id.name == "invalidReturnValue" || curr.id.name == "invalidReturnType") {
+ return (nil, nil)
+ }
+
+
try _helper.test(curr.id.name == "locate" || curr.id.name == "finished")
if curr.id.name == "locate" {