Skip to content

Commit

Permalink
Follow up fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ono-max committed Jan 7, 2024
1 parent 7f3546a commit 7e3bb9b
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions test/protocol/hover_raw_dap_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,13 @@ def test_hover_works_correctly
variablesReference: 30,
namedVariables: /\d+/
},
{
name: "9",
value: /.*/,
type: /.*/,
variablesReference: 31,
namedVariables: /\d+/
},
]
}
},
Expand All @@ -641,7 +648,7 @@ def test_hover_works_correctly
message: "Success",
body: {
type: "Integer",
variablesReference: 31,
variablesReference: 32,
namedVariables: /\d+/,
result: "3"
}
Expand All @@ -650,7 +657,7 @@ def test_hover_works_correctly
seq: 23,
command: "variables",
arguments: {
variablesReference: 31
variablesReference: 32
},
type: "request"
},
Expand All @@ -667,7 +674,7 @@ def test_hover_works_correctly
name: "#class",
value: "Integer",
type: "Class",
variablesReference: 32,
variablesReference: 33,
namedVariables: /\d+/
}
]
Expand All @@ -692,7 +699,7 @@ def test_hover_works_correctly
message: "Success",
body: {
type: "Integer",
variablesReference: 33,
variablesReference: 34,
namedVariables: /\d+/,
result: "2"
}
Expand All @@ -701,7 +708,7 @@ def test_hover_works_correctly
seq: 25,
command: "variables",
arguments: {
variablesReference: 33
variablesReference: 34
},
type: "request"
},
Expand All @@ -718,7 +725,7 @@ def test_hover_works_correctly
name: "#class",
value: "Integer",
type: "Class",
variablesReference: 34,
variablesReference: 35,
namedVariables: /\d+/
}
]
Expand All @@ -743,7 +750,7 @@ def test_hover_works_correctly
message: "Success",
body: {
type: "Integer",
variablesReference: 35,
variablesReference: 36,
namedVariables: /\d+/,
result: "1"
}
Expand All @@ -752,7 +759,7 @@ def test_hover_works_correctly
seq: 27,
command: "variables",
arguments: {
variablesReference: 35
variablesReference: 37
},
type: "request"
},
Expand All @@ -769,7 +776,7 @@ def test_hover_works_correctly
name: "#class",
value: "Integer",
type: "Class",
variablesReference: 36,
variablesReference: 37,
namedVariables: /\d+/
}
]
Expand Down

0 comments on commit 7e3bb9b

Please sign in to comment.