fix test for new bitsy version
This commit is contained in:
parent
21fac294d4
commit
7eb465d5dc
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue