Help us shape the future of Go! Take the 2026 Go Developer Survey

editiontest

package
v1.0.65 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package editiontest provides contract-test helpers that any edition.Hooks implementation (open-source or overlay) must satisfy. It lives in a non-_test package so external modules can import and run these checks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunContractTests

func RunContractTests(t *testing.T, h *edition.Hooks)

RunContractTests validates that the supplied Hooks implementation satisfies the behavioural contract required by the open-source core. Call this from both the open-source test suite and any overlay's tests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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