         _STLR.register(optimizer: InlineIdentifierOptimization())
         _STLR.register(optimizer: CharacterSetOnlyChoiceOptimizer())
         do {
-            let reference = "letter = (@error(\"error a\") \"a\" | @error(\"error b\") \"b\" | @error(\"error c\") \"c\")"
             let result = try generatedStringSerialization(for: "letter = @error(\"error a\") \"a\"| @error(\"error b\")\"b\"| @error(\"error c\") \"c\"").replacingOccurrences(of: "\n", with: "").replacingOccurrences(of: "\t", with: "")
             
             
-            XCTAssertEqual("{(@error(\"error a\") \"a\" | @error(\"error b\") \"b\" | @error(\"error c\") \"c\")}►letter", result)
+            XCTAssertEqual("~({(@error(\"error a\") \"a\" | @error(\"error b\") \"b\" | @error(\"error c\") \"c\")}►letter)", result)
             
         } catch (let error){
             XCTFail("\(error)")

    func testTerminalSequence(){
        do {
            let result = try generatedStringSerialization(for: "letter = @error(\"error\") (\"a\" \"b\" \"c\")")
            let reference = "{(@error(\"error\") ~(\"a\" \"b\" \"c\"))}►letter"
            XCTAssertEqual(result, reference)
            
        } catch (let error){

        do {
            let result = try generatedStringSerialization(for: "a=\"a\"")
            
            XCTAssertEqual(result,"~({(\"a\")}►a)")
        } catch (let error){
            XCTFail("\(error)")
        }
