@@ -57,8 +57,8 @@ final class FlagValueSourceTests: XCTestCase {
5757
5858 // GIVEN two dictionaries
5959 let source = FlagValueDictionary ( [
60- " test-flag " : true ,
61- " subgroup.test-flag " : true
60+ " test-flag " : . bool ( true ) ,
61+ " subgroup.test-flag " : . bool ( true )
6262 ] )
6363 let destination = FlagValueDictionary ( )
6464
@@ -68,17 +68,17 @@ final class FlagValueSourceTests: XCTestCase {
6868
6969 // THEN we expect those two dictionaries to match
7070 XCTAssertEqual ( destination. count, 2 )
71- XCTAssertEqual ( destination [ " test-flag " ] as? Bool , true )
72- XCTAssertEqual ( destination [ " subgroup.test-flag " ] as? Bool , true )
71+ XCTAssertEqual ( destination [ " test-flag " ] , . bool ( true ) )
72+ XCTAssertEqual ( destination [ " subgroup.test-flag " ] , . bool ( true ) )
7373
7474 }
7575
7676 func testSourceRemovesAllVales ( ) throws {
7777
7878 // GIVEN a dictionary with some values
7979 let source = FlagValueDictionary ( [
80- " test-flag " : true ,
81- " subgroup.test-flag " : true
80+ " test-flag " : . bool ( true ) ,
81+ " subgroup.test-flag " : . bool ( true )
8282 ] )
8383
8484 // WHEN we remove all values from that source
0 commit comments