diff --git a/test/diffs-todo/no-newline-at-eof.A.js b/test/diffs-todo/no-newline-at-eof.A.js deleted file mode 100644 index 4336a74b3..000000000 --- a/test/diffs-todo/no-newline-at-eof.A.js +++ /dev/null @@ -1 +0,0 @@ -console.log("hello, world"); \ No newline at end of file diff --git a/test/diffs-todo/no-newline-at-eof.B.js b/test/diffs-todo/no-newline-at-eof.B.js deleted file mode 100644 index 3dc95cb30..000000000 --- a/test/diffs-todo/no-newline-at-eof.B.js +++ /dev/null @@ -1,3 +0,0 @@ -console.log("hello, world"); - -console.log("insertion"); \ No newline at end of file diff --git a/test/diffs-todo/no-newline-at-eof.json.js b/test/diffs/no-newline-at-eof.json.js similarity index 94% rename from test/diffs-todo/no-newline-at-eof.json.js rename to test/diffs/no-newline-at-eof.json.js index 4cf868901..f64062e1a 100644 --- a/test/diffs-todo/no-newline-at-eof.json.js +++ b/test/diffs/no-newline-at-eof.json.js @@ -1 +1 @@ -{"rows":[[{"terms":[{"children":[{"children":[{"children":[{"children":[{"categories":["identifier"],"range":[0,7]},{"categories":["identifier"],"range":[8,11]}],"categories":["member_access"],"range":[0,11]},{"children":[{"children":[{"categories":["StringLiteral"],"range":[12,13]},{"categories":["StringLiteral"],"range":[13,18]},{"categories":["StringLiteral"],"range":[18,19]},{"categories":["StringLiteral"],"range":[20,25]},{"categories":["StringLiteral"],"range":[25,26]}],"categories":["StringLiteral"],"range":[12,26]}],"categories":["arguments"],"range":[12,26]}],"categories":["FunctionCall"],"range":[0,27]}],"categories":["expression_statement"],"range":[0,28]}],"categories":["program"],"range":[0,28]}],"hasChanges":false,"range":[0,28],"number":1},{"terms":[{"children":[{"children":[{"children":[{"children":[{"categories":["identifier"],"range":[0,7]},{"categories":["identifier"],"range":[8,11]}],"categories":["member_access"],"range":[0,11]},{"children":[{"children":[{"categories":["StringLiteral"],"range":[12,13]},{"categories":["StringLiteral"],"range":[13,18]},{"categories":["StringLiteral"],"range":[18,19]},{"categories":["StringLiteral"],"range":[20,25]},{"categories":["StringLiteral"],"range":[25,26]}],"categories":["StringLiteral"],"range":[12,26]}],"categories":["arguments"],"range":[12,26]}],"categories":["FunctionCall"],"range":[0,27]}],"categories":["expression_statement"],"range":[0,28]}],"categories":["program"],"range":[0,29]}],"hasChanges":false,"range":[0,29],"number":1}],[{"terms":[{"children":[],"categories":["program"],"range":[29,30]}],"hasChanges":false,"range":[29,30],"number":2}],[{"terms":[{"children":[{"children":[{"children":[{"children":[{"categories":["identifier"],"range":[30,37]},{"categories":["identifier"],"range":[38,41]}],"categories":["member_access"],"range":[30,41]},{"children":[{"children":[{"categories":["StringLiteral"],"range":[42,43]},{"categories":["StringLiteral"],"range":[43,52]},{"categories":["StringLiteral"],"range":[52,53]}],"categories":["StringLiteral"],"range":[42,53]}],"categories":["arguments"],"range":[42,53]}],"categories":["FunctionCall"],"range":[30,54]}],"patch":"insert","categories":["expression_statement"],"range":[30,55]}],"categories":["program"],"range":[30,55]}],"hasChanges":true,"range":[30,55],"number":3}]],"paths":["test/diffs-todo/no-newline-at-eof.A.js","test/diffs-todo/no-newline-at-eof.B.js"],"oids":["",""]} \ No newline at end of file +{"rows":[[{"terms":[{"children":[{"children":[{"children":[{"children":[{"categories":["identifier"],"range":[0,7]},{"categories":["identifier"],"range":[8,11]}],"categories":["member_access"],"range":[0,11]},{"children":[{"children":[{"categories":["StringLiteral"],"range":[12,13]},{"categories":["StringLiteral"],"range":[13,18]},{"categories":["StringLiteral"],"range":[18,19]},{"categories":["StringLiteral"],"range":[20,25]},{"categories":["StringLiteral"],"range":[25,26]}],"categories":["StringLiteral"],"range":[12,26]}],"categories":["arguments"],"range":[12,26]}],"categories":["FunctionCall"],"range":[0,27]}],"categories":["expression_statement"],"range":[0,28]}],"categories":["program"],"range":[0,28]}],"hasChanges":false,"range":[0,28],"number":1},{"terms":[{"children":[{"children":[{"children":[{"children":[{"categories":["identifier"],"range":[0,7]},{"categories":["identifier"],"range":[8,11]}],"categories":["member_access"],"range":[0,11]},{"children":[{"children":[{"categories":["StringLiteral"],"range":[12,13]},{"categories":["StringLiteral"],"range":[13,18]},{"categories":["StringLiteral"],"range":[18,19]},{"categories":["StringLiteral"],"range":[20,25]},{"categories":["StringLiteral"],"range":[25,26]}],"categories":["StringLiteral"],"range":[12,26]}],"categories":["arguments"],"range":[12,26]}],"categories":["FunctionCall"],"range":[0,27]}],"categories":["expression_statement"],"range":[0,28]}],"categories":["program"],"range":[0,29]}],"hasChanges":false,"range":[0,29],"number":1}],[{"terms":[{"children":[],"categories":["program"],"range":[29,30]}],"hasChanges":false,"range":[29,30],"number":2}],[{"terms":[{"children":[{"children":[{"children":[{"children":[{"categories":["identifier"],"range":[30,37]},{"categories":["identifier"],"range":[38,41]}],"categories":["member_access"],"range":[30,41]},{"children":[{"children":[{"categories":["StringLiteral"],"range":[42,43]},{"categories":["StringLiteral"],"range":[43,52]},{"categories":["StringLiteral"],"range":[52,53]}],"categories":["StringLiteral"],"range":[42,53]}],"categories":["arguments"],"range":[42,53]}],"categories":["FunctionCall"],"range":[30,54]}],"patch":"insert","categories":["expression_statement"],"range":[30,55]}],"categories":["program"],"range":[30,55]}],"hasChanges":true,"range":[30,55],"number":3}]],"paths":["test/diffs/no-newline-at-eof.A.js","test/diffs/no-newline-at-eof.B.js"],"oids":["",""]} \ No newline at end of file