Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marianosimone authored and ko1 committed Oct 25, 2022
1 parent f1c8927 commit 4d914d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/protocol/binary_data_dap_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def test_binary_data_gets_encoded
assert_locals_result(
[
{ name: '%self', value: 'main', type: 'Object' },
{ name: 'with_binary_data', value: /\[Invalid encoding\] /, type: 'PassthroughInspect' }
{ name: 'with_binary_data', value: [8, 200, 1].pack('CCC').encode(Encoding::UTF_8, invalid: :replace, undef: :replace), type: 'PassthroughInspect' }
]
)
req_terminate_debuggee
Expand Down

0 comments on commit 4d914d8

Please sign in to comment.