Lines Matching refs:result
45 let result = Opt::try_parse_from(["test"]);
46 assert!(result.is_err());
100 let result = Opt::try_parse_from(["test", "badcmd"]);
101 assert!(result.is_err());
102 let result = Opt::try_parse_from(["test", "add", "--verbose"]);
103 assert!(result.is_err());
104 let result = Opt::try_parse_from(["test", "--badopt", "add"]);
105 assert!(result.is_err());
106 let result = Opt::try_parse_from(["test", "add", "--badopt"]);
107 assert!(result.is_err());