Test all crates in the workspace (#127)

* Test all crates in the workspace

* Fix tests for Rust 1.41.0
This commit is contained in:
Jay Oster 2020-12-10 20:00:13 -08:00 committed by GitHub
parent d425cfee7f
commit f85145d774
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -57,6 +57,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: test
args: --all
lints:
name: Lints
runs-on: ubuntu-latest

View file

@ -138,6 +138,6 @@ mod tests {
assert_eq!(pixels.0, 10, "Width differs");
assert_eq!(pixels.1, 8, "Height differs");
assert_eq!(pixels.2.as_ref(), expected, "Pixels differ");
assert_eq!(pixels.2.to_vec(), expected, "Pixels differ");
}
}