Skip to content

Commit d294691

Browse files
committed
Increase coverage
1 parent 16b384f commit d294691

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
@@ -842,6 +842,7 @@ describe('PHP Debug Adapter', () => {
842842
{ context: 'hover', expression: '$anInt', result: '123', hasVariablesReference: false },
843843
{ context: 'hover', expression: '$aString', result: '"123"', hasVariablesReference: false },
844844
{ context: 'hover', expression: '$anArray', result: 'array(3)', hasVariablesReference: true },
845+
{ context: 'hover', expression: '$aBoolean', result: 'true', hasVariablesReference: false },
845846
{ context: 'clipboard', expression: '$anInt', result: '123', hasVariablesReference: false },
846847
{ context: 'clipboard', expression: '$aString', result: "'123'", hasVariablesReference: false },
847848
{
@@ -850,6 +851,7 @@ describe('PHP Debug Adapter', () => {
850851
result: 'array (\n 0 => 1,\n test => 2,\n test2 => \n array (\n t => 123,\n ),\n)',
851852
hasVariablesReference: false,
852853
},
854+
{ context: 'clipboard', expression: '$aBoolean', result: 'true', hasVariablesReference: false },
853855
{ context: 'clipboard-json', expression: '$anInt', result: '123', hasVariablesReference: false },
854856
{ context: 'clipboard-json', expression: '$aString', result: '"123"', hasVariablesReference: false },
855857
{
@@ -858,9 +860,11 @@ describe('PHP Debug Adapter', () => {
858860
result: '{\n "0": 1,\n "test": 2,\n "test2": {\n "t": 123\n }\n}',
859861
hasVariablesReference: false,
860862
},
863+
{ context: 'clipboard-json', expression: '$aBoolean', result: 'true', hasVariablesReference: false },
861864
{ context: 'clipboard-raw', expression: '$anInt', result: '123', hasVariablesReference: false },
862865
{ context: 'clipboard-raw', expression: '$aString', result: '123', hasVariablesReference: false },
863866
{ context: 'clipboard-raw', expression: '$anArray', result: 'array(3)', hasVariablesReference: false },
867+
{ context: 'clipboard-raw', expression: '$aBoolean', result: 'true', hasVariablesReference: false },
864868
]
865869

866870
for (const testCase of testCases) {

0 commit comments

Comments
 (0)