elvish: github.com/elves/elvish/pkg/testutil Index | Files

package testutil

import "github.com/elves/elvish/pkg/testutil"

Package testutil contains common test utilities.


Package Files

scaled_ms.go testutil.go

func ScaledMs Uses

func ScaledMs(ms int) time.Duration

ScaledMs returns ms milliseconds, scaled by the ELVISH_TEST_TIME_SCALE environment variable. If the variable does not exist, the scale defaults to 1.

Package testutil imports 3 packages (graph) and is imported by 1 packages. Updated 2020-04-07. Refresh now. Tools for package owners.