1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

cgen: fix gen_array_equality_fn() (#7633)

This commit is contained in:
yuyi
2020-12-28 18:26:50 +08:00
committed by GitHub
parent 164dd3000b
commit 07459a77e3
4 changed files with 42 additions and 25 deletions

View File

@ -691,13 +691,6 @@ fn test_array_str() {
// assert numbers2.str() == '[[1, 2, 3], [4, 5, 6]]'
}
fn test_eq() {
/*
assert [5, 6, 7].eq([6, 7]) == false
assert [`a`, `b`].eq([`a`, `b`]) == true
*/
}
struct User {
age int
name string