elvish/pkg/testutil
Qi Xiao 3a3b8f5700 pkg/edit/complete: Change Complete to take an Evaler.
The PureEvaler abstraction made things unnecessarily complex; it's better to
just create a real Evaler for tests is pretty.

The Evaler has a new ReplaceBuiltin method to make it easier to construct the
expected test result.
2022-04-11 21:39:29 +01:00
..
must.go Remove most uses of the ioutil package. 2021-08-23 00:36:26 +01:00
recover_test.go pkg/eval/vals: Test expected panics in num.go. 2021-06-15 19:11:57 +01:00
recover.go interface{} -> any now that Elvish requires Go 1.18. 2022-03-20 16:17:19 +00:00
scaled_test.go pkg/testutil: ScaledMs -> Scaled, takes a time.Duration instead. 2021-10-05 01:02:54 +01:00
scaled.go pkg/testutil: ScaledMs -> Scaled, takes a time.Duration instead. 2021-10-05 01:02:54 +01:00
set_test.go pkg/edit/complete: Change Complete to take an Evaler. 2022-04-11 21:39:29 +01:00
set.go pkg/edit/complete: Change Complete to take an Evaler. 2022-04-11 21:39:29 +01:00
temp_env_test.go Make use of (*testing.T).Cleanup for test cleanups. 2021-08-06 23:21:23 +01:00
temp_env.go Make use of (*testing.T).Cleanup for test cleanups. 2021-08-06 23:21:23 +01:00
testdir_nonwindows_test.go Require Go 1.18. 2022-03-20 15:28:23 +00:00
testdir_test.go Remove most uses of the ioutil package. 2021-08-23 00:36:26 +01:00
testdir.go interface{} -> any now that Elvish requires Go 1.18. 2022-03-20 16:17:19 +00:00
testutil_test.go Make use of (*testing.T).Cleanup for test cleanups. 2021-08-06 23:21:23 +01:00
testutil.go Make use of (*testing.T).Cleanup for test cleanups. 2021-08-06 23:21:23 +01:00
umask_unix.go Require Go 1.18. 2022-03-20 15:28:23 +00:00
umask_windows.go pkg/testutil: Add utility for setting umask during tests. 2021-09-12 14:42:06 +01:00
umask.go pkg/testutil: Add utility for setting umask during tests. 2021-09-12 14:42:06 +01:00