From f0486657754c485f8211c6d00f9bf5ba6953dd67 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 27 Apr 2016 01:01:35 -0400 Subject: process should actually take a byte array --- tests/basic.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/basic.rs') diff --git a/tests/basic.rs b/tests/basic.rs index ec3a8d7..7312928 100644 --- a/tests/basic.rs +++ b/tests/basic.rs @@ -10,7 +10,7 @@ mod tests { assert_eq!(screen.rows(), 24); assert_eq!(screen.cols(), 80); - let input = "foo\x1b[31m\x1b[32mb\x1b[3;7;42ma\x1b[23mr"; + let input = b"foo\x1b[31m\x1b[32mb\x1b[3;7;42ma\x1b[23mr"; screen.process(input); assert_eq!(screen.window_contents(0, 0, 0, 50), "foobar\n"); } -- cgit v1.2.3-54-g00ecf