testutil

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2020 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package testutil provides the test helper functions for unit testing for nvim-go.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetBuildContext

func SetBuildContext(t *testing.T, gopath string) func()

SetBuildContext sets build.Default.GOPATH and return the restore function.

func TestContext

func TestContext(tb testing.TB, ctx context.Context) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL