fix test for new bitsy version

This commit is contained in:
Max Bradbury 2020-07-19 08:52:02 +01:00
parent 21fac294d4
commit 7eb465d5dc
1 changed files with 2 additions and 1 deletions

View File

@ -133,7 +133,8 @@ mod test {
#[test] #[test]
fn test_sprite_from_string() { 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(); let expected = mock::sprite();
assert_eq!(output, expected); assert_eq!(output, expected);