From e0a9115941abc0fc33340d79b4c5746cba912df9 Mon Sep 17 00:00:00 2001 From: Aaron Weiss Date: Fri, 31 Jan 2020 17:11:28 -0500 Subject: [PATCH] fixed escaping tests --- irc-proto/src/message.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc-proto/src/message.rs b/irc-proto/src/message.rs index f9abb5f..468a864 100644 --- a/irc-proto/src/message.rs +++ b/irc-proto/src/message.rs @@ -546,7 +546,7 @@ mod test { command: PRIVMSG("#test".to_string(), "test".to_string()), } .to_string(); - let message = "@tag=\\:\\s\\\\\\r\\na :test PRIVMSG #test :test\r\n"; + let message = "@tag=\\:\\s\\\\\\r\\na :test PRIVMSG #test test\r\n"; assert_eq!(msg, message); } }