mirror of
https://github.com/kopia/kopia.git
synced 2025-12-23 22:57:50 -05:00
- upgrade to golangci-lint 2.6.1 - updates for gosec - updates for govet - updates for perfsprint - updates modernize Leaves out modernize:omitempty due to conflicts with tests
16 lines
402 B
Go
16 lines
402 B
Go
//go:build linux
|
|
|
|
package tempfile
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
// Explicitly test the create fallback function.
|
|
// This test only applies to Linux to explicitly test the fallback function.
|
|
// In other unix platforms the fallback is the default implementation, so it
|
|
// is already tested in the tests for the Create function.
|
|
func TestCreateFallback(t *testing.T) {
|
|
VerifyTempfile(t, createUnixFallback)
|
|
}
|