Skip to content

Commit 4d914d8

Browse files
marianosimoneko1
authored andcommitted
Fix tests
1 parent f1c8927 commit 4d914d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/protocol/binary_data_dap_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def test_binary_data_gets_encoded
2525
assert_locals_result(
2626
[
2727
{ name: '%self', value: 'main', type: 'Object' },
28-
{ name: 'with_binary_data', value: /\[Invalid encoding\] /, type: 'PassthroughInspect' }
28+
{ name: 'with_binary_data', value: [8, 200, 1].pack('CCC').encode(Encoding::UTF_8, invalid: :replace, undef: :replace), type: 'PassthroughInspect' }
2929
]
3030
)
3131
req_terminate_debuggee

0 commit comments

Comments
 (0)