Pass cargoTestFlags as array

This commit is contained in:
Benjamin Manns 2023-12-10 10:59:14 -05:00
parent c3484979ea
commit 022fc378aa

View file

@ -37,7 +37,12 @@ rustPlatform.buildRustPackage rec {
# Omitted: --doc # Omitted: --doc
# Can be removed after 0.4.3 or when https://github.com/DioxusLabs/dioxus/pull/1706 is resolved # Can be removed after 0.4.3 or when https://github.com/DioxusLabs/dioxus/pull/1706 is resolved
# Matches upstream package test CI https://github.com/DioxusLabs/dioxus/blob/544ca5559654c8490ce444c3cbd85c1bfb8479da/Makefile.toml#L94-L108 # Matches upstream package test CI https://github.com/DioxusLabs/dioxus/blob/544ca5559654c8490ce444c3cbd85c1bfb8479da/Makefile.toml#L94-L108
cargoTestFlags = "--lib --bins --tests --examples"; cargoTestFlags = [
"--lib"
"--bins"
"--tests"
"--examples"
];
passthru.tests.version = testers.testVersion { passthru.tests.version = testers.testVersion {
package = dioxus-cli; package = dioxus-cli;