btesting

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run added in v0.0.3

func Run(t *testing.T, prog string) string

Run compiles and executes a bag3l program, returning its stdout output.

func RunErr

func RunErr(t *testing.T, prog string, expectedErr error)

func RunO

func RunO(t *testing.T, prog string, expectedOutput string)

func RunSubErr

func RunSubErr(t *testing.T, name string, prog string, expectedErr error)

func RunSubO

func RunSubO(t *testing.T, name string, prog string, expectedOutput string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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