         XCTAssertNil(no.doubleCol)
         XCTAssertNil(no.boolCol)
 
-        realm.transactionWithBlock {
+        try! realm.transactionWithBlock {
             no.intCol = 1.1
             no.floatCol = 2.2 as Float
             no.doubleCol = 3.3


    func testOptionalSwiftProperties() {
        let realm = realmWithTestPath()
        realm.transactionWithBlock { realm.addObject(SwiftOptionalObject()) }

        let firstObj = SwiftOptionalObject.allObjectsInRealm(realm).firstObject() as! SwiftOptionalObject
        XCTAssertNil(firstObj.optObjectCol)

        XCTAssertEqual(firstObj.optBinaryCol!, NSData(bytes: "hi", length: 2))
        XCTAssertEqual(firstObj.optDateCol!,  NSDate(timeIntervalSinceReferenceDate: 10))

        try! realm.transactionWithBlock {
            firstObj.optObjectCol = nil
            firstObj.optStringCol = nil
            firstObj.optBinaryCol = nil
