Skip to content

Commit 2eca115

Browse files
committed
Improve coverage
1 parent d294691 commit 2eca115

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/test/adapter.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -843,6 +843,7 @@ describe('PHP Debug Adapter', () => {
843843
{ context: 'hover', expression: '$aString', result: '"123"', hasVariablesReference: false },
844844
{ context: 'hover', expression: '$anArray', result: 'array(3)', hasVariablesReference: true },
845845
{ context: 'hover', expression: '$aBoolean', result: 'true', hasVariablesReference: false },
846+
{ context: 'hover', expression: '$aFloat', result: '1.23', hasVariablesReference: false },
846847
{ context: 'clipboard', expression: '$anInt', result: '123', hasVariablesReference: false },
847848
{ context: 'clipboard', expression: '$aString', result: "'123'", hasVariablesReference: false },
848849
{
@@ -852,6 +853,7 @@ describe('PHP Debug Adapter', () => {
852853
hasVariablesReference: false,
853854
},
854855
{ context: 'clipboard', expression: '$aBoolean', result: 'true', hasVariablesReference: false },
856+
{ context: 'clipboard', expression: '$aFloat', result: '1.23', hasVariablesReference: false },
855857
{ context: 'clipboard-json', expression: '$anInt', result: '123', hasVariablesReference: false },
856858
{ context: 'clipboard-json', expression: '$aString', result: '"123"', hasVariablesReference: false },
857859
{
@@ -861,10 +863,12 @@ describe('PHP Debug Adapter', () => {
861863
hasVariablesReference: false,
862864
},
863865
{ context: 'clipboard-json', expression: '$aBoolean', result: 'true', hasVariablesReference: false },
866+
{ context: 'clipboard-json', expression: '$aFloat', result: '1.23', hasVariablesReference: false },
864867
{ context: 'clipboard-raw', expression: '$anInt', result: '123', hasVariablesReference: false },
865868
{ context: 'clipboard-raw', expression: '$aString', result: '123', hasVariablesReference: false },
866869
{ context: 'clipboard-raw', expression: '$anArray', result: 'array(3)', hasVariablesReference: false },
867870
{ context: 'clipboard-raw', expression: '$aBoolean', result: 'true', hasVariablesReference: false },
871+
{ context: 'clipboard-raw', expression: '$aFloat', result: '1.23', hasVariablesReference: false },
868872
]
869873

870874
for (const testCase of testCases) {

0 commit comments

Comments
 (0)