     }
 
     func testFrameRateRatio() {
-        var subtitleConverter = try! SubtitleConverter(subtitles: "[300][600]Text.")
+        let subtitleConverter = try! SubtitleConverter(subtitles: "[300][600]Text.")
         subtitleConverter.frameRate = 5.0
 
         subtitleConverter.frameRateRatio = 5.0 // For example: Change Frame Rate from 2.0 to 10.0.

    }

    func testMergeAdjacentWhitespaces() {
        var subtitleConverter = try! SubtitleConverter(subtitles: "01:12:33:Text  with   ugly spaces.")
        subtitleConverter.mergeAdjacentWhitespaces = true

        let convertedSubtitles = try! subtitleConverter.convert(to: .tmplayer)


    func testFrameRate() {
        // Time Based format to Frame Based format.
        let timeBasedSubtitleConverter = try! SubtitleConverter(subtitles: "[3600][7200]Text.")

        timeBasedSubtitleConverter.frameRate = 2.0
        XCTAssertEqual(try! timeBasedSubtitleConverter.convert(to: .mpl2), "[3600][7200]Text.")
