Skip to content

Commit c4a99de

Browse files
committed
Fix test
1 parent 3a37130 commit c4a99de

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

splitio_ios/example/ios/SplitTests/SplitMethodParserTests.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ class SplitWrapperStub: SplitWrapper {
391391
return result
392392
}
393393

394-
func getTreatmentsByFlagSet(matchingKey: String, flagSet: String, bucketingKey: String?, attributes: [String : Any]?) -> [String : String]? {
394+
func getTreatmentsByFlagSet(matchingKey: String, flagSet: String, bucketingKey: String?, attributes: [String : Any]?) -> [String : String] {
395395
matchingKeyValue = matchingKey
396396
bucketingKeyValue = bucketingKey
397397
flagSetValue = flagSet
@@ -400,7 +400,7 @@ class SplitWrapperStub: SplitWrapper {
400400
return [:]
401401
}
402402

403-
func getTreatmentsByFlagSets(matchingKey: String, flagSets: [String], bucketingKey: String?, attributes: [String : Any]?) -> [String : String]? {
403+
func getTreatmentsByFlagSets(matchingKey: String, flagSets: [String], bucketingKey: String?, attributes: [String : Any]?) -> [String : String] {
404404
matchingKeyValue = matchingKey
405405
bucketingKeyValue = bucketingKey
406406
flagSetsValue = flagSets
@@ -409,7 +409,7 @@ class SplitWrapperStub: SplitWrapper {
409409
return [:]
410410
}
411411

412-
func getTreatmentsWithConfigByFlagSet(matchingKey: String, flagSet: String, bucketingKey: String?, attributes: [String : Any]?) -> [String : SplitResult]? {
412+
func getTreatmentsWithConfigByFlagSet(matchingKey: String, flagSet: String, bucketingKey: String?, attributes: [String : Any]?) -> [String : SplitResult] {
413413
matchingKeyValue = matchingKey
414414
bucketingKeyValue = bucketingKey
415415
flagSetValue = flagSet
@@ -418,7 +418,7 @@ class SplitWrapperStub: SplitWrapper {
418418
return [:]
419419
}
420420

421-
func getTreatmentsWithConfigByFlagSets(matchingKey: String, flagSets: [String], bucketingKey: String?, attributes: [String : Any]?) -> [String : SplitResult]? {
421+
func getTreatmentsWithConfigByFlagSets(matchingKey: String, flagSets: [String], bucketingKey: String?, attributes: [String : Any]?) -> [String : SplitResult] {
422422
matchingKeyValue = matchingKey
423423
bucketingKeyValue = bucketingKey
424424
flagSetsValue = flagSets

0 commit comments

Comments
 (0)