diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-10-29 03:40:09 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-10-29 03:40:09 +0900 |
| commit | 274686d10d3386a41f8fb6bc3363269a734afe0e (patch) | |
| tree | 59ce81d5617cf5e1f67b819dab49b83b71d8ff93 /internal/app/sysconf_test.go | |
| parent | 65342d588ff061d2130e6379d86a26be90c908ae (diff) | |
internal/validate: relocate from app
These are free of the dispatcher from internal/app. This change relocates them into their own package.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/sysconf_test.go')
| -rw-r--r-- | internal/app/sysconf_test.go | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/internal/app/sysconf_test.go b/internal/app/sysconf_test.go deleted file mode 100644 index fb0c7f8a..00000000 --- a/internal/app/sysconf_test.go +++ /dev/null @@ -1,17 +0,0 @@ -package app - -import "testing" - -const ( - _POSIX_LOGIN_NAME_MAX = 9 -) - -func TestSysconf(t *testing.T) { - t.Parallel() - - t.Run("LOGIN_NAME_MAX", func(t *testing.T) { - if got := sysconf(_SC_LOGIN_NAME_MAX); got < _POSIX_LOGIN_NAME_MAX { - t.Errorf("sysconf(_SC_LOGIN_NAME_MAX): %d < _POSIX_LOGIN_NAME_MAX", got) - } - }) -} |
