elvish/pkg/eval
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
..
errs
evaltest Use go-cmp to report unexpected test results. 2022-03-11 22:49:32 +00:00
vals Use go-cmp to report unexpected test results. 2022-03-11 22:49:32 +00:00
vars pkg/persistent: Cons -> Conj. 2022-01-05 22:34:55 +00:00
benchmarks_test.go pkg/eval: Reorganize benchmarks. 2021-12-02 00:30:01 +00:00
builtin_fn_cmd_test.go
builtin_fn_cmd_unix_test.go Replace AnyError in tests with a specific error 2021-12-13 01:08:24 +00:00
builtin_fn_cmd_unix.go Reorganize pkg/sys into portable and non-portable system utilities. 2021-10-02 13:14:00 +01:00
builtin_fn_cmd_windows.go
builtin_fn_cmd.go Update assignment syntax in docs. 2022-01-03 19:45:39 +00:00
builtin_fn_container_test.go Remove most uses of the legacy assignment syntax. 2022-01-03 00:47:41 +00:00
builtin_fn_container.go Update assignment syntax in docs. 2022-01-03 19:45:39 +00:00
builtin_fn_debug.go
builtin_fn_env_test.go Remove most uses of the legacy assignment syntax. 2022-01-03 00:47:41 +00:00
builtin_fn_env.go Update assignment syntax in docs. 2022-01-03 19:45:39 +00:00
builtin_fn_flow_test.go Add a new "defer" command. 2022-01-05 00:12:35 +00:00
builtin_fn_flow.go Add a new "defer" command. 2022-01-05 00:12:35 +00:00
builtin_fn_fs_test.go Remove most uses of the legacy assignment syntax. 2022-01-03 00:47:41 +00:00
builtin_fn_fs.go Remove dir-history, deprecated since 0.17.0. 2022-01-03 00:47:41 +00:00
builtin_fn_io_test.go Replace AnyError in tests with a specific error 2021-12-13 01:08:24 +00:00
builtin_fn_io.go pkg/persistent: Cons -> Conj. 2022-01-05 22:34:55 +00:00
builtin_fn_misc_test.go Remove most uses of the legacy assignment syntax. 2022-01-03 00:47:41 +00:00
builtin_fn_misc_unix_test.go pkg/testutil: ScaledMs -> Scaled, takes a time.Duration instead. 2021-10-05 01:02:54 +01:00
builtin_fn_misc.go Update assignment syntax in docs. 2022-01-03 19:45:39 +00:00
builtin_fn_num_test.go Remove most uses of the legacy assignment syntax. 2022-01-03 00:47:41 +00:00
builtin_fn_num.go pkg/eval: Break up builtin_fn_container.go. 2021-12-26 12:22:14 +00:00
builtin_fn_pred_test.go
builtin_fn_pred.go pkg/eval: Break up builtin_fn_container.go. 2021-12-26 12:22:14 +00:00
builtin_fn_str_test.go Replace AnyError in tests with a specific error 2021-12-13 01:08:24 +00:00
builtin_fn_str.go Export eval.Closure and (*eval.Frame).Fork. 2021-12-31 14:28:30 +00:00
builtin_fn_stream.go Revise doc for the builtin module. 2021-12-28 12:01:35 +00:00
builtin_fn_styled_test.go Remove most uses of the legacy assignment syntax. 2022-01-03 00:47:41 +00:00
builtin_fn_styled.go Update assignment syntax in docs. 2022-01-03 19:45:39 +00:00
builtin_ns_test.go Fix use of the builtin module via explicit "builtin". 2021-10-28 22:28:13 +01:00
builtin_ns.go Refactor the API of eval.NsBuilder to be completely based on methods. 2021-10-23 21:44:11 +01:00
builtin_special_test.go Improve the syntax of "try". 2022-03-01 13:57:00 +00:00
builtin_special.go Improve the syntax of "try". 2022-03-01 13:57:00 +00:00
callable.go
chdir_test.go Remove most uses of the legacy assignment syntax. 2022-01-03 00:47:41 +00:00
closure_test.go Remove most uses of the legacy assignment syntax. 2022-01-03 00:47:41 +00:00
closure.go Export eval.Closure and (*eval.Frame).Fork. 2021-12-31 14:28:30 +00:00
compile_effect_test.go Remove support for the "local:", "up:" and ":" special namespaces. 2022-01-03 00:47:41 +00:00
compile_effect_unix_test.go Support turning off implicit external command resolution. 2021-10-07 01:21:28 +01:00
compile_effect.go Remove legacy assignment syntax. 2022-01-03 00:47:41 +00:00
compile_lvalue.go Remove support for the "local:", "up:" and ":" special namespaces. 2022-01-03 00:47:41 +00:00
compile_value_test.go Remove support for the legacy lambda syntax. 2022-01-03 00:47:41 +00:00
compile_value.go pkg/persistent: Cons -> Conj. 2022-01-05 22:34:55 +00:00
compiler_test.go Remove dir-history, deprecated since 0.17.0. 2022-01-03 00:47:41 +00:00
compiler.go Remove dir-history, deprecated since 0.17.0. 2022-01-03 00:47:41 +00:00
deprecation.go
eval_test.go Remove most uses of the legacy assignment syntax. 2022-01-03 00:47:41 +00:00
eval.go Update assignment syntax in docs. 2022-01-03 19:45:39 +00:00
exception_test.go
exception_unix_test.go Run gofmt with Go 1.17. 2021-08-23 00:19:49 +01:00
exception.go pkg/persistent: Cons -> Conj. 2022-01-05 22:34:55 +00:00
external_cmd_test.go Remove most uses of the legacy assignment syntax. 2022-01-03 00:47:41 +00:00
external_cmd_unix_internal_test.go Run gofmt with Go 1.17. 2021-08-23 00:19:49 +01:00
external_cmd_unix_test.go Run gofmt with Go 1.17. 2021-08-23 00:19:49 +01:00
external_cmd_unix.go Run gofmt with Go 1.17. 2021-08-23 00:19:49 +01:00
external_cmd_windows_test.go Run gofmt with Go 1.17. 2021-08-23 00:19:49 +01:00
external_cmd_windows.go
external_cmd.go
frame.go Export eval.Closure and (*eval.Frame).Fork. 2021-12-31 14:28:30 +00:00
fuzz_test.go Add fuzz test for (*eval.Evaler).Check. 2022-01-01 23:52:08 +00:00
glob_test.go pkg/eval: Slightly improve coverage of glob.go. 2021-09-10 19:08:22 +01:00
glob.go pkg/eval/vals: Add ReprPlain, Repr without pretty-printing. 2021-12-31 21:05:07 +00:00
go_fn_internal_test.go pkg/eval: Convert elements of slice return value from a GoFn to individual outputs. 2021-10-03 16:34:52 +01:00
go_fn_test.go Fixup for #1447. 2021-12-13 01:23:14 +00:00
go_fn.go Fixup for #1447. 2021-12-13 01:23:14 +00:00
interrupts.go Use buffered channels with signal.Notify. 2021-08-23 00:22:11 +01:00
node_utils.go Improve the syntax of "try". 2022-03-01 13:57:00 +00:00
ns_test.go Remove most uses of the legacy assignment syntax. 2022-01-03 00:47:41 +00:00
ns.go Refactor the API of eval.NsBuilder to be completely based on methods. 2021-10-23 21:44:11 +01:00
options_test.go Use go-cmp to report unexpected test results. 2022-03-11 22:49:32 +00:00
options.go Add a new conversion utility vals.ScanMapToGo. 2021-12-31 18:00:36 +00:00
plugin_gccgo.go Run gofmt with Go 1.17. 2021-08-23 00:19:49 +01:00
plugin.go Run gofmt with Go 1.17. 2021-08-23 00:19:49 +01:00
port_helper_test.go Remove most uses of the ioutil package. 2021-08-23 00:36:26 +01:00
port_unix.go Run gofmt with Go 1.17. 2021-08-23 00:19:49 +01:00
port_windows.go
port.go pkg/eval/vals: Add ReprPlain, Repr without pretty-printing. 2021-12-31 21:05:07 +00:00
process_unix.go Reorganize pkg/sys into portable and non-portable system utilities. 2021-10-02 13:14:00 +01:00
process_windows.go
purely_eval_test.go Refactor the API of eval.NsBuilder to be completely based on methods. 2021-10-23 21:44:11 +01:00
purely_eval.go
pwd_test.go
pwd.go
value_test.go pkg/eval/vals: Add ReprPlain, Repr without pretty-printing. 2021-12-31 21:05:07 +00:00
var_parse_test.go
var_parse.go
var_ref.go Remove support for the "local:", "up:" and ":" special namespaces. 2022-01-03 00:47:41 +00:00