<commit_before>/// <reference path="fourslash.ts"/>
////var x = `sadasdasdasdasfegsfd
/////*1*/rasdesgeryt35t35y35 e4 ergt er 35t 3535 `;
////var y = `1${2}/*2*/3`;
////let z=    `foo`/*3*/
////let w=  `bar${3}`/*4*/
////String.raw
//// `template`/*5*/
////String.raw`foo`/*6*/
////String.raw  `bar${3}`/*7*/


goTo.marker("1");
edit.insert("\r\n"); // edit will trigger formatting - should succeeed

goTo.marker("2");
edit.insert("\r\n");
verify.indentationIs(0);
verify.currentLineContentIs("3`;")

goTo.marker("3");
edit.insert(";");
verify.currentLineContentIs("let z = `foo`;"); 
goTo.marker("4");
edit.insert(";");
verify.currentLineContentIs("let w = `bar${3}`;"); 

goTo.marker("5");
edit.insert(";");
verify.currentLineContentIs("    `template`;");
goTo.marker("6");
edit.insert(";");
verify.currentLineContentIs("String.raw `foo`;");
goTo.marker("7");
edit.insert(";");
verify.currentLineContentIs("String.raw `bar${3}`;");<commit_msg>remove spaces<commit_after>/// <reference path="fourslash.ts"/>
////var x = `sadasdasdasdasfegsfd
/////*1*/rasdesgeryt35t35y35 e4 ergt er 35t 3535 `;
////var y = `1${2}/*2*/3`;
////let z=    `foo`/*3*/
////let w=  `bar${3}`/*4*/
////String.raw
//// `template`/*5*/
////String.raw`foo`/*6*/
////String.raw  `bar${3}`/*7*/


goTo.marker("1");
edit.insert("\r\n"); // edit will trigger formatting - should succeeed

goTo.marker("2");
edit.insert("\r\n");
verify.indentationIs(0);
verify.currentLineContentIs("3`;")

goTo.marker("3");
edit.insert(";");
verify.currentLineContentIs("let z = `foo`;");
goTo.marker("4");
edit.insert(";");
verify.currentLineContentIs("let w = `bar${3}`;");

goTo.marker("5");
edit.insert(";");
verify.currentLineContentIs("    `template`;");
goTo.marker("6");
edit.insert(";");
verify.currentLineContentIs("String.raw `foo`;");
goTo.marker("7");
edit.insert(";");
verify.currentLineContentIs("String.raw `bar${3}`;");
{'fraction_non_alphanumeric': 0.2870762711864407, 'fraction_numerical': 0.038135593220338986, 'mean_word_length': 4.555882352941176, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1077075', 'n_tokens_mistral': 756, 'n_tokens_neox': 738, 'n_words': 120}