File tree 1 file changed +3
-3
lines changed
Tests/FeaturevisorSDKTests
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1150,7 +1150,7 @@ class FeaturevisorInstanceTests: XCTestCase {
1150
1150
let expectation = expectation ( description: " datafile_error_response_expectation " )
1151
1151
var wasDatafileContentFetchErrorThrown = false
1152
1152
var errorThrownDetails : String ?
1153
-
1153
+
1154
1154
var options = InstanceOptions . default
1155
1155
options. logger = createLogger { level, message, details in
1156
1156
guard case . error = level else {
@@ -1166,7 +1166,7 @@ class FeaturevisorInstanceTests: XCTestCase {
1166
1166
}
1167
1167
options. datafileUrl = " https://featurevisor.datafilecontent.com "
1168
1168
options. handleDatafileFetch = { _ in
1169
- . failure( FeaturevisorError . unparseableJSON ( data: nil , errorMessage: " Error :( " ) )
1169
+ . failure( FeaturevisorError . unparseableJSON ( data: nil , errorMessage: " Error :( " ) )
1170
1170
}
1171
1171
options. datafile = DatafileContent (
1172
1172
schemaVersion: " 1 " ,
@@ -1179,7 +1179,7 @@ class FeaturevisorInstanceTests: XCTestCase {
1179
1179
// WHEN
1180
1180
let sdk = try ! createInstance ( options: options)
1181
1181
waitForExpectations ( timeout: 1 )
1182
-
1182
+
1183
1183
// THEN
1184
1184
XCTAssertFalse ( sdk. isReady ( ) )
1185
1185
XCTAssertTrue ( wasDatafileContentFetchErrorThrown)
You can’t perform that action at this time.
0 commit comments