fn spec(scope: &str, name: &str, version: Option<&str>) -> ToolSpec {
        let name = ToolName::new(scope, name).expect("failed to create test ToolName");
        let version = match version {
            Some(v) => Some(Version::parse(v).expect("failed to create test Version")),
            None => None,
        };
        ToolSpec::new(name, version)
    }
/// Utility to create a ToolSpec for creating quick test cases.
Utility to create a ToolSpec for creating quick test cases.
Utility to create a ToolSpec for creating quick test cases .
fn spec(scope: &str, name: &str, version: Option<&str>) -> ToolSpec {
        let name = ToolName::new(scope, name).expect("failed to create test ToolName");
        let version = match version {
            Some(v) => Some(Version::parse(v).expect("failed to create test Version")),
            None => None,
        };
        ToolSpec::new(name, version)
    }
fn spec ( scope : & str , name : & str , version : Option < & str > ) -> ToolSpec { let name = ToolName :: new ( scope , name ) . expect ( " " ) ; let version = match version { Some ( v ) => Some ( Version :: parse ( v ) . expect ( " " ) ) , None => None , } ; ToolSpec :: new ( name , version ) }
Utility to create a ToolSpec for creating quick test cases.
Utility to create a ToolSpec for creating quick test cases .
scope
&str
name
&str
version
Option<&str>
scope
&str
name
&str
version
Option<&str>