Skip to content

Commit 7ed910e

Browse files
committed
ci: fix encoding mismatch
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
1 parent 2a8688d commit 7ed910e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/plugin/test_out_irc.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def test_emit
106106
s = IRCParser.parse(socket.gets)
107107
m[s.class.to_sym] = s
108108

109-
s = IRCParser.parse(socket.gets)
109+
s = IRCParser.parse(socket.gets&.force_encoding("utf-8"))
110110
m[s.class.to_sym] = s
111111

112112
assert_equal ["##{CHANNEL}"], m[:join].channels

0 commit comments

Comments
 (0)