aboutsummaryrefslogtreecommitdiff
path: root/tests/core/nogo/vet/README.rst
blob: 28f95c0ec077821489e5f3f90bef2ea9f776df7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Vet check
=========

.. _go_library: /docs/go/core/rules.md#_go_library

Tests to ensure that vet runs and detects errors.

.. contents::

vet_test
--------
Verifies that vet errors are emitted on a `go_library`_ with problems when built
with a ``nogo`` binary with ``vet = True``. No errors should be emitted when
analyzing error-free source code. Vet should not be enabled by default.