mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-14 19:27:58 +08:00
Fix test cases for equality test builtins.
This commit is contained in:
parent
8a8d47afb7
commit
e56e54307e
|
@ -202,8 +202,8 @@ var evalTests = []struct {
|
|||
{"* 353 661", strs("233333"), nomore},
|
||||
{"/ 233333 353", strs("661"), nomore},
|
||||
{"/ 1 0", strs("+Inf"), nomore},
|
||||
// Equality
|
||||
{"put ?(== 1.0 1) ?(==s 1.0 1) ?(eq 1 1) ?(eq [] []) ?(deepeq [] []) ?(deepeq [&] [&])",
|
||||
// Equality test builtins.
|
||||
{`put ?(== 1.0 1) ?(==s 1.0 1) ?(is 1 1) ?(is [] []) ?(eq [] []) ?(eq [&] [&])`,
|
||||
[]Value{
|
||||
Bool(true), Bool(false), Bool(true), Bool(false), Bool(true), Bool(true),
|
||||
}, nomore},
|
||||
|
|
Loading…
Reference in New Issue
Block a user