diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-07-02 21:23:55 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-07-02 21:23:55 +0900 |
| commit | a1d98823f8d17b49b432508d071b62ccd426f1ce (patch) | |
| tree | cacbe2d42f9ff3fd49b455e849770840e34d076a /executable_test.go | |
| parent | 255b77d91dc40736b7bbd7d96b22500076b098e5 (diff) | |
hakurei: move container toplevel
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'executable_test.go')
| -rw-r--r-- | executable_test.go | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/executable_test.go b/executable_test.go new file mode 100644 index 00000000..27b6223a --- /dev/null +++ b/executable_test.go @@ -0,0 +1,17 @@ +package hakurei_test + +import ( + "os" + "testing" + + "git.gensokyo.uk/security/hakurei" +) + +func TestExecutable(t *testing.T) { + for i := 0; i < 16; i++ { + if got := hakurei.MustExecutable(); got != os.Args[0] { + t.Errorf("MustExecutable: %q, want %q", + got, os.Args[0]) + } + } +} |
