From 7eb465d5dcf8d590c556cbf65344d1488b24c3b0 Mon Sep 17 00:00:00 2001 From: Max Bradbury Date: Sun, 19 Jul 2020 08:52:02 +0100 Subject: [PATCH] fix test for new bitsy version --- src/sprite.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sprite.rs b/src/sprite.rs index 866ecbc..d09ed28 100644 --- a/src/sprite.rs +++ b/src/sprite.rs @@ -133,7 +133,8 @@ mod test { #[test] fn test_sprite_from_string() { - let output = Sprite::from(include_str!("test-resources/sprite").to_string()).unwrap(); + let string = include_str!("test-resources/sprite").to_string(); + let output = Sprite::from(string).unwrap(); let expected = mock::sprite(); assert_eq!(output, expected);