Skip to content

Commit

Permalink
test(derive): Update another case to new approach
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Jun 13, 2022
1 parent 0c36710 commit 483b64e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/derive/flags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ fn mixed_type_flags() {
fn ignore_qualified_bool_type() {
mod inner {
#[allow(non_camel_case_types)]
#[derive(PartialEq, Debug)]
#[derive(PartialEq, Debug, Clone)]
pub struct bool(pub String);

impl std::str::FromStr for self::bool {
Expand All @@ -181,6 +181,7 @@ fn ignore_qualified_bool_type() {

#[derive(Parser, PartialEq, Debug)]
struct Opt {
#[clap(action)]
arg: inner::bool,
}

Expand Down

0 comments on commit 483b64e

Please sign in to comment.