Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Update trybuild to avoid random test failures. (#13073)
Browse files Browse the repository at this point in the history
* Update trybuild to avoid random test failures.

A feature was added to trybuild >1.0.70 avoid failing on different variant
counts in the line `and 278 others`

fixes #12955

* Update all trybuild deps to latest version

* Update Cargo.lock
  • Loading branch information
hirschenberger authored Jan 6, 2023
1 parent 8d17a16 commit bc73ebf
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frame/election-provider-support/solution-type/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ sp-arithmetic = { version = "6.0.0", path = "../../../primitives/arithmetic" }
# used by generate_solution_type:
frame-election-provider-support = { version = "4.0.0-dev", path = ".." }
frame-support = { version = "4.0.0-dev", path = "../../support" }
trybuild = "1.0.60"
trybuild = "1.0.74"
2 changes: 1 addition & 1 deletion frame/support/test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ sp-runtime = { version = "7.0.0", default-features = false, path = "../../../pri
sp-core = { version = "7.0.0", default-features = false, path = "../../../primitives/core" }
sp-std = { version = "5.0.0", default-features = false, path = "../../../primitives/std" }
sp-version = { version = "5.0.0", default-features = false, path = "../../../primitives/version" }
trybuild = { version = "1.0.60", features = [ "diff" ] }
trybuild = { version = "1.0.74", features = [ "diff" ] }
pretty_assertions = "1.2.1"
rustversion = "1.0.6"
frame-system = { version = "4.0.0-dev", default-features = false, path = "../../system" }
Expand Down
2 changes: 1 addition & 1 deletion primitives/api/test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ sp-consensus = { version = "0.10.0-dev", path = "../../consensus/common" }
sc-block-builder = { version = "0.10.0-dev", path = "../../../client/block-builder" }
codec = { package = "parity-scale-codec", version = "3.0.0" }
sp-state-machine = { version = "0.13.0", path = "../../state-machine" }
trybuild = "1.0.60"
trybuild = "1.0.74"
rustversion = "1.0.6"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion primitives/runtime-interface/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ sp-state-machine = { version = "0.13.0", path = "../state-machine" }
sp-core = { version = "7.0.0", path = "../core" }
sp-io = { version = "7.0.0", path = "../io" }
rustversion = "1.0.6"
trybuild = "1.0.60"
trybuild = "1.0.74"

[features]
default = [ "std" ]
Expand Down
2 changes: 1 addition & 1 deletion test-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ tokio = { version = "1.22.0", features = ["macros", "time"] }
substrate-test-utils-derive = { version = "0.10.0-dev", path = "./derive" }

[dev-dependencies]
trybuild = { version = "1.0.53", features = [ "diff" ] }
trybuild = { version = "1.0.74", features = [ "diff" ] }
sc-service = { version = "0.10.0-dev", path = "../client/service" }

0 comments on commit bc73ebf

Please sign in to comment.