File: copier_windows_test.go

package info (click to toggle)
golang-github-containers-buildah 1.41.4%2Bds1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,152 kB
  • sloc: sh: 2,569; makefile: 241; perl: 187; asm: 16; awk: 12; ansic: 1
file content (15 lines) | stat: -rw-r--r-- 355 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//go:build windows

package copier

import (
	"testing"

	"github.com/stretchr/testify/require"
)

func checkStatInfoOwnership(t *testing.T, result *StatForItem) {
	t.Helper()
	require.EqualValues(t, -1, result.UID, "expected the owning user to not be supported")
	require.EqualValues(t, -1, result.GID, "expected the owning group to not be supported")
}