test

package
v0.11.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package test implements testcases and test helpers for dealing with map blocks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Testcase

type Testcase struct {
	Name  string
	Block *hclwrite.Block
}

Testcase is a mapexpr test case.

func SchemaErrorTestcases

func SchemaErrorTestcases() []Testcase

SchemaErrorTestcases returns test cases for schema errors.

Jump to

Keyboard shortcuts

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