diff --git a/test/protocol/hover_raw_dap_test.rb b/test/protocol/hover_raw_dap_test.rb index 3c277757c..0a2d45b90 100644 --- a/test/protocol/hover_raw_dap_test.rb +++ b/test/protocol/hover_raw_dap_test.rb @@ -619,6 +619,13 @@ def test_hover_works_correctly variablesReference: 30, namedVariables: /\d+/ }, + { + name: "9", + value: /.*/, + type: /.*/, + variablesReference: 31, + namedVariables: /\d+/ + }, ] } }, @@ -641,7 +648,7 @@ def test_hover_works_correctly message: "Success", body: { type: "Integer", - variablesReference: 31, + variablesReference: 32, namedVariables: /\d+/, result: "3" } @@ -650,7 +657,7 @@ def test_hover_works_correctly seq: 23, command: "variables", arguments: { - variablesReference: 31 + variablesReference: 32 }, type: "request" }, @@ -667,7 +674,7 @@ def test_hover_works_correctly name: "#class", value: "Integer", type: "Class", - variablesReference: 32, + variablesReference: 33, namedVariables: /\d+/ } ] @@ -692,7 +699,7 @@ def test_hover_works_correctly message: "Success", body: { type: "Integer", - variablesReference: 33, + variablesReference: 34, namedVariables: /\d+/, result: "2" } @@ -701,7 +708,7 @@ def test_hover_works_correctly seq: 25, command: "variables", arguments: { - variablesReference: 33 + variablesReference: 34 }, type: "request" }, @@ -718,7 +725,7 @@ def test_hover_works_correctly name: "#class", value: "Integer", type: "Class", - variablesReference: 34, + variablesReference: 35, namedVariables: /\d+/ } ] @@ -743,7 +750,7 @@ def test_hover_works_correctly message: "Success", body: { type: "Integer", - variablesReference: 35, + variablesReference: 36, namedVariables: /\d+/, result: "1" } @@ -752,7 +759,7 @@ def test_hover_works_correctly seq: 27, command: "variables", arguments: { - variablesReference: 35 + variablesReference: 37 }, type: "request" }, @@ -769,7 +776,7 @@ def test_hover_works_correctly name: "#class", value: "Integer", type: "Class", - variablesReference: 36, + variablesReference: 37, namedVariables: /\d+/ } ]