Skip to content

Commit

Permalink
run tests via Makefile, remove circular dependency
Browse files Browse the repository at this point in the history
Signed-off-by: leongross <[email protected]>
  • Loading branch information
leongross committed May 21, 2024
1 parent e138902 commit 2f1996f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ TEST_PACKAGES_FAST = \
unicode \
unicode/utf16 \
unicode/utf8 \
user \
os/user \
$(nil)

# Assume this will go away before Go2, so only check minor version.
Expand Down
3 changes: 1 addition & 2 deletions src/os/user_test.go → src/os/user/user_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
//go:build !baremetal && !js && !wasip1 && !windows
// +build !baremetal,!js,!wasip1,!windows

package os_test
package user

import (
. "os/user"
"runtime"
"testing"
)
Expand Down

0 comments on commit 2f1996f

Please sign in to comment.