Skip to content

Commit fec7da9

Browse files
committed
Update tests
Signed-off-by: Pedro Castro <aspeddro@gmail.com>
1 parent b7147d1 commit fec7da9

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎tests/lsp_tests/code_action.ml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ let%expect_test "extracts a local module into its own file" =
7474
{
7575
"edits": [
7676
{
77-
"newText": "/** Doc comment. */\ntype t = int\nlet doStuff = a => a + 1\n",
77+
"newText": "/** Doc comment. */\ntype t = int\n\nlet doStuff = a => a + 1\n",
7878
"range": {
7979
"end": { "character": 1, "line": 4 },
8080
"start": { "character": 0, "line": 0 }
@@ -127,7 +127,7 @@ let value = if kind == First {
127127
{
128128
"edits": [
129129
{
130-
"newText": "switch kind {\n | First => failwith(\"TODO\")\n | Second => failwith(\"TODO\")\n }",
130+
"newText": "switch kind {\n | First => %todo\n | Second => %todo\n }",
131131
"range": {
132132
"end": { "character": 19, "line": 2 },
133133
"start": { "character": 15, "line": 2 }

0 commit comments

Comments
 (0)