From 73833eb7c3d4bd2163623e896499d677f4806ef0 Mon Sep 17 00:00:00 2001 From: Chad Brokaw Date: Wed, 19 Oct 2022 15:05:23 -0400 Subject: [PATCH] update tests --- Cargo.lock | 2 +- tests/Cargo.toml | 2 +- tests/src/main.rs | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a8a9b7e..5cfbf46 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -948,7 +948,7 @@ name = "piet-gpu-tests" version = "0.1.0" dependencies = [ "bytemuck", - "clap 2.34.0", + "clap 3.2.22", "kurbo 0.7.1", "piet-gpu", "piet-gpu-hal", diff --git a/tests/Cargo.toml b/tests/Cargo.toml index 1f0760a..ea320b9 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -10,7 +10,7 @@ edition = "2021" default = ["piet-gpu"] [dependencies] -clap = "2.33" +clap = "3.2.22" bytemuck = "1.7.2" kurbo = "0.7.1" rand = "0.7.3" diff --git a/tests/src/main.rs b/tests/src/main.rs index 96504f1..5f72708 100644 --- a/tests/src/main.rs +++ b/tests/src/main.rs @@ -42,27 +42,27 @@ fn main() { let matches = App::new("piet-gpu-tests") .arg( Arg::with_name("verbose") - .short("v") + .short('v') .long("verbose") .help("Verbose reporting of results"), ) .arg( Arg::with_name("groups") - .short("g") + .short('g') .long("groups") .help("Groups to run") .takes_value(true), ) .arg( Arg::with_name("size") - .short("s") + .short('s') .long("size") .help("Size of tests") .takes_value(true), ) .arg( Arg::with_name("n_iter") - .short("n") + .short('n') .long("n_iter") .help("Number of iterations") .takes_value(true),