mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-05 03:17:50 +08:00
fef5049716
*Exception.Show used to work differently when the traceback contains one frame vs more frames. Harmonize how they work, and consistent with how parse errors and compilation errors are shown.
14 lines
300 B
Go
14 lines
300 B
Go
package eval
|
|
|
|
// Pointers to variables that can be mutated for testing.
|
|
var (
|
|
GetHome = &getHome
|
|
Getwd = &getwd
|
|
OSExit = &osExit
|
|
TimeAfter = &timeAfter
|
|
TimeNow = &timeNow
|
|
|
|
ExceptionCauseStartMarker = &exceptionCauseStartMarker
|
|
ExceptionCauseEndMarker = &exceptionCauseEndMarker
|
|
)
|