Skip to content

Commit

Permalink
chore(deps): bump ui_test from 0.22.3 to 0.23.0
Browse files Browse the repository at this point in the history
Bumps [ui_test](https://github.com/oli-obk/ui_test) from 0.22.3 to 0.23.0.
- [Release notes](https://github.com/oli-obk/ui_test/releases)
- [Changelog](https://github.com/oli-obk/ui_test/blob/main/CHANGELOG.md)
- [Commits](oli-obk/ui_test@0.22.3...0.23.0)

---
updated-dependencies:
- dependency-name: ui_test
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
  • Loading branch information
dependabot[bot] authored and benfdking committed Jul 3, 2024
1 parent 5bf6eca commit 6c48d9f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
20 changes: 10 additions & 10 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 crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ serde = { version = "1.0.203", features = ["derive"], optional = true }
jemallocator = { version = "0.5", package = "tikv-jemallocator", optional = true }

[dev-dependencies]
ui_test = "0.22"
ui_test = "0.23"
5 changes: 2 additions & 3 deletions crates/cli/tests/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ fn main() -> Result<()> {
config.program.out_dir_flag = None;
config.program.args = vec!["lint".into()];

std::mem::swap(&mut config.comment_defaults.base().edition, &mut <_>::default());
std::mem::swap(&mut config.comment_defaults, &mut Default::default());
config.comment_defaults.base().mode =
Spanned::dummy(Mode::Fail { require_patterns: false, rustfix: RustfixMode::Disabled })
.into();
Spanned::dummy(Mode::Fail { require_patterns: false }).into();

let args = Args::test()?;
config.with_args(&args);
Expand Down

0 comments on commit 6c48d9f

Please sign in to comment.