testbuildtags

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package testbuildtags ensures that go files with tests defined in them do not have any build tags configured.

Build tags, if not extremely carefully used, may prevent those files from being included in the test package and thus silently prevent them from being executed.

Index

Constants

This section is empty.

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name: "testbuildtags",
	Doc:  "reports build tags present in files that contain tests",
	Run:  run,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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