mirror of
https://github.com/siderolabs/kres.git
synced 2026-02-05 09:45:35 +01:00
Generate boilerplate for: - unit-tests. - linters. - codecoverage. - build executables from nested projects. Signed-off-by: Artem Chernyshev <artem.chernyshev@talos-systems.com>
21 lines
655 B
Go
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))
|
|
}
|