All checks were successful
Test / Create distribution (push) Successful in 24s
Test / Sandbox (push) Successful in 46s
Test / Hakurei (push) Successful in 2m9s
Test / Sandbox (race detector) (push) Successful in 3m14s
Test / Planterette (push) Successful in 3m41s
Test / Hakurei (race detector) (push) Successful in 3m40s
Test / Flake checks (push) Successful in 1m18s
Signed-off-by: Ophestra <cat@gensokyo.uk>
18 lines
275 B
Go
18 lines
275 B
Go
package container_test
|
|
|
|
import (
|
|
"os"
|
|
"testing"
|
|
|
|
"hakurei.app/container"
|
|
)
|
|
|
|
func TestExecutable(t *testing.T) {
|
|
for i := 0; i < 16; i++ {
|
|
if got := container.MustExecutable(); got != os.Args[0] {
|
|
t.Errorf("MustExecutable: %q, want %q",
|
|
got, os.Args[0])
|
|
}
|
|
}
|
|
}
|