tests

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2016 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FileTests = []TestCase{}/* 276 elements not displayed */
View Source
var FileTestsNoPrint = []TestCase{
	{
		Strs: []string{"<<EOF\n\\"},
		// contains filtered or unexported fields
	},
}

these don't have a canonical format with the same AST

Functions

func CheckNewlines

func CheckNewlines(tb testing.TB, src string, got []int)

func SetPosRecurse

func SetPosRecurse(tb testing.TB, src string, v interface{}, to Pos, diff bool)

Types

type TestCase

type TestCase struct {
	Strs []string

	All         []*File
	Bash, Posix *File
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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