Skip to content

Commit bd4cbd2

Browse files
Flippchenmfloto
andcommitted
fix: str add class
Co-authored-by: mfloto <[email protected]>
1 parent 40026e1 commit bd4cbd2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/src/tests/str_add_class.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,7 @@ fn str_add_class() -> Class {
3030
fields: vec![FieldDecl {
3131
field_type: Type::String,
3232
name: "hello".to_string(),
33-
val: Some(TypedExpr(
34-
Box::new(Expr::String("Hi".to_string())),
35-
Type::String,
36-
)),
33+
val: Some(Expr::String("Hi".to_string())),
3734
}],
3835
methods: vec![MethodDecl {
3936
ret_type: Type::String,

0 commit comments

Comments
 (0)