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:
parent
d425cfee7f
commit
f85145d774
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
|
@ -57,6 +57,7 @@ jobs:
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: test
|
command: test
|
||||||
|
args: --all
|
||||||
lints:
|
lints:
|
||||||
name: Lints
|
name: Lints
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
@ -138,6 +138,6 @@ mod tests {
|
||||||
|
|
||||||
assert_eq!(pixels.0, 10, "Width differs");
|
assert_eq!(pixels.0, 10, "Width differs");
|
||||||
assert_eq!(pixels.1, 8, "Height 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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue