1
0
mirror of https://github.com/siderolabs/kres.git synced 2026-02-05 09:45:35 +01:00
Files
kres/internal/project/golang/golangcilint_test.go
Artem Chernyshev 33bdccc45c feat: support nested Go projects
Generate boilerplate for:

- unit-tests.
- linters.
- codecoverage.
- build executables from nested projects.

Signed-off-by: Artem Chernyshev <artem.chernyshev@talos-systems.com>
2023-05-19 14:22:28 +03:00

21 lines
655 B
Go

// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
package golang_test
import (
"testing"
"github.com/stretchr/testify/assert"
"github.com/siderolabs/kres/internal/output/dockerfile"
"github.com/siderolabs/kres/internal/output/makefile"
"github.com/siderolabs/kres/internal/project/golang"
)
func TestGolangciLintInterfaces(t *testing.T) {
assert.Implements(t, (*dockerfile.Compiler)(nil), new(golang.GolangciLint))
assert.Implements(t, (*makefile.Compiler)(nil), new(golang.GolangciLint))
}