elvish/pkg/eval/vals
Qi Xiao 5f1673c6c4 Use go-cmp to report unexpected test results.
cmp.Diff panics when comparing a struct that has unexported fields and no String
or Equal method, so change some structs to either export all their fields or
have an Equal method.

This fixes #1136.
2022-03-11 22:49:32 +00:00
..
aliased_types_test.go Fix staticcheck error. 2021-09-11 02:58:54 +01:00
aliased_types.go pkg/persistent: Cons -> Conj. 2022-01-05 22:34:55 +00:00
assoc_test.go pkg/eval/vals: De-export the Eq util and move into a _test file. 2021-12-16 23:55:24 +00:00
assoc.go Remove unused code. 2020-08-23 16:04:44 +01:00
bool_test.go Change module import path to src.elv.sh 2021-01-27 01:30:25 +00:00
bool.go
concat_test.go Make the kind of int, *big.Int and *big.Rat "number". 2021-06-15 19:22:38 +01:00
concat.go Use machine word (int) instead of int64 for fixnum. 2021-04-04 13:37:38 +01:00
conversion_test.go Use go-cmp to report unexpected test results. 2022-03-11 22:49:32 +00:00
conversion.go pkg/eval/vals: Add ReprPlain, Repr without pretty-printing. 2021-12-31 21:05:07 +00:00
dissoc_test.go pkg/eval/vals: De-export the Eq util and move into a _test file. 2021-12-16 23:55:24 +00:00
dissoc.go
doc.go
equal_test.go Fixup for #1342. 2021-06-27 16:41:07 +01:00
equal.go Other float64 cases that should be generalized 2021-06-27 16:32:38 +01:00
errors_test.go pkg/eval/vals: Improve coverage. 2021-09-11 02:54:34 +01:00
feed_test.go pkg: Move util/feed.go to eval/vals. 2020-09-03 05:22:44 +01:00
feed.go pkg: Move util/feed.go to eval/vals. 2020-09-03 05:22:44 +01:00
has_key_test.go pkg/eval/vals: Remove support for the legacy a:b slice syntax. 2021-10-22 17:41:09 +01:00
has_key.go Use the integrated persistent package. 2021-05-03 22:17:46 +01:00
hash_test.go Implement Hash for *big.Int and *big.Rat. 2021-06-27 17:01:12 +01:00
hash.go Implement Hash for *big.Int and *big.Rat. 2021-06-27 17:01:12 +01:00
index_list.go pkg/eval/vals: Remove support for the legacy a:b slice syntax. 2021-10-22 17:41:09 +01:00
index_string.go
index_test.go pkg/eval/vals: De-export the Eq util and move into a _test file. 2021-12-16 23:55:24 +00:00
index.go pkg/eval/vals: Add ReprPlain, Repr without pretty-printing. 2021-12-31 21:05:07 +00:00
iterate_keys_test.go pkg/eval/vals: Improve test coverage of index.go and iterate_keys.go. 2021-06-15 19:22:58 +01:00
iterate_keys.go pkg/eval/vals: Introduce "pseudo struct maps". 2020-06-29 00:22:36 +01:00
iterate_test.go pkg/eval/vals: Remove a duplicate test. 2021-09-11 13:57:53 +01:00
iterate.go pkg/eval/vals: Always return structured errors. 2020-01-06 23:02:26 +00:00
kind_test.go Make the kind of int, *big.Int and *big.Rat "number". 2021-06-15 19:22:38 +01:00
kind.go Make the kind of int, *big.Int and *big.Rat "number". 2021-06-15 19:22:38 +01:00
len_test.go Change module import path to src.elv.sh 2021-01-27 01:30:25 +00:00
len.go Use the integrated persistent package. 2021-05-03 22:17:46 +01:00
num_test.go pkg/eval/vals: Test expected panics in num.go. 2021-06-15 19:11:57 +01:00
num.go pkg/eval/vals: Document the use of 0 in UnifyNums. 2021-12-17 10:52:44 +00:00
pipe_test.go Merge branch 'master' into testutil-test-coverage 2021-06-06 22:03:34 +01:00
pipe.go Fix typos and add codespell to CI 2021-08-22 23:07:34 +01:00
reflect_wrappers.go
repr_helpers.go
repr_test.go pkg/eval/vals: Add ReprPlain, Repr without pretty-printing. 2021-12-31 21:05:07 +00:00
repr.go Fix build on Go 1.16. 2021-12-31 21:13:41 +00:00
string_test.go Cleanup, docs and tests. 2021-04-05 20:48:22 +01:00
string.go pkg/eval/vals: Add ReprPlain, Repr without pretty-printing. 2021-12-31 21:05:07 +00:00
struct_map_test.go Use the integrated persistent package. 2021-05-03 22:17:46 +01:00
struct_map.go Change module import path to src.elv.sh 2021-01-27 01:30:25 +00:00
tester.go pkg/eval/vals: Add ReprPlain, Repr without pretty-printing. 2021-12-31 21:05:07 +00:00
testutils_test.go pkg/eval/vals: De-export the Eq util and move into a _test file. 2021-12-16 23:55:24 +00:00