mirror of
https://github.com/kjuulh/dagger-rs.git
synced 2025-08-04 14:53:25 +02:00
add tests
This commit is contained in:
@@ -96,15 +96,11 @@ mod tests {
|
||||
fields: None,
|
||||
};
|
||||
|
||||
let expected = r#"use dagger_core::Input;
|
||||
let expected = r#"pub struct BuildArg {
|
||||
pub name: String,
|
||||
|
||||
pub struct BuildArg {
|
||||
pub name: Option<String>,
|
||||
|
||||
pub value: Option<String>,
|
||||
pub value: String,
|
||||
}
|
||||
|
||||
impl Input for BuildArg {}
|
||||
"#;
|
||||
|
||||
let output = input.render(&t).unwrap();
|
||||
|
Reference in New Issue
Block a user