elvish/pkg/eval/testexport_test.go
Qi Xiao 6723b9a226 Use consistent pattern for mutating variables in tests.
- Use testutil.Set.

- Only export such variables to tests.
2022-06-19 23:56:18 +01:00

9 lines
146 B
Go

package eval
// Pointers to functions that can be mutated for testing.
var (
GetHome = &getHome
Getwd = &getwd
TimeAfter = &timeAfter
)