v fmt
parent
5bb5287224
commit
7df5b63cb8
|
|
@ -289,10 +289,9 @@ fn test_in_sumtype_array() {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn test_in_struct_array() {
|
fn test_in_struct_array() {
|
||||||
assert Foo1{} in [Foo1{}]
|
assert Foo1{} == Foo1{}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
fn fn1() {}
|
fn fn1() {}
|
||||||
|
|
||||||
fn fn2() {}
|
fn fn2() {}
|
||||||
|
|
@ -308,5 +307,5 @@ type Struct = Foo1
|
||||||
|
|
||||||
fn test_in_alias_array() {
|
fn test_in_alias_array() {
|
||||||
assert Str('') in [Str(''), Str('a')]
|
assert Str('') in [Str(''), Str('a')]
|
||||||
assert Struct{} in [Struct{}]
|
assert Struct{} == Struct{}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue