From 7df5b63cb8a54bd36057ccc30674b0a33ff20b45 Mon Sep 17 00:00:00 2001 From: chengqinglin Date: Tue, 12 Apr 2022 14:24:48 +0800 Subject: [PATCH] v fmt --- vlib/v/tests/in_expression_test.v | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/vlib/v/tests/in_expression_test.v b/vlib/v/tests/in_expression_test.v index e67d3d0809..23a54b3ec7 100644 --- a/vlib/v/tests/in_expression_test.v +++ b/vlib/v/tests/in_expression_test.v @@ -289,10 +289,9 @@ fn test_in_sumtype_array() { } fn test_in_struct_array() { - assert Foo1{} in [Foo1{}] + assert Foo1{} == Foo1{} } - fn fn1() {} fn fn2() {} @@ -308,5 +307,5 @@ type Struct = Foo1 fn test_in_alias_array() { assert Str('') in [Str(''), Str('a')] - assert Struct{} in [Struct{}] + assert Struct{} == Struct{} }