tests

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FileTests = []testCase{}/* 318 elements not displayed */
View Source
var FileTestsNoPrint = []testCase{
	{
		Strs: []string{"<<EOF\n\\"},
		// contains filtered or unexported fields
	},
	{
		Strs: []string{`$[foo]`},
		// contains filtered or unexported fields
	},
	{
		Strs: []string{`"$[foo]"`},
		// 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

This section is empty.

Jump to

Keyboard shortcuts

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