Fix test
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nyyu 2021-03-14 14:37:27 +01:00
parent 3212938a2a
commit 65e1d65428
2 changed files with 14 additions and 14 deletions

View File

@ -1,26 +1,26 @@
[package]
name = "cggitem_sets"
version = "0.1.0"
authors = ["nyyu <mail@nyyu.dev>"]
edition = "2018"
name = "cggitem_sets"
version = "0.1.0"
[dependencies]
indexmap = {version = "1.6", features = ["serde-1"]}
lazy_static = "1.4"
log = "0.4"
simple_logger = "1.11"
regex = "1.4"
select = "0.5"
serde = "1.0"
serde_derive = "1.0"
serde_json = { version = "1.0", features = ["preserve_order"] }
select = "0.5"
regex = "1.4"
lazy_static = "1.4"
indexmap = { version = "1.6", features = ["serde-1"] }
ureq = { version = "2.0", features = ["json", "charset"] }
serde_json = {version = "1.0", features = ["preserve_order"]}
simple_logger = "1.11"
ureq = {version = "2.0", features = ["json", "charset"]}
[target.'cfg(windows)'.dependencies]
winreg = "0.8"
[profile.release]
opt-level = 'z'
lto = true
codegen-units = 1
panic = 'abort'
lto = true
opt-level = 'z'
panic = 'abort'

View File

@ -395,8 +395,8 @@ mod tests {
assert!(result.is_some());
match result {
Some(value) => {
assert!(value.0.len() > 0);
assert!(value.1 > 0.);
assert!(!value.0.is_empty());
assert!(value.1.win_rate > 0.);
}
None => assert!(false),
}