test(sidecar): drop stub-mode placeholder tautology tests

This commit is contained in:
pj committed 2026-06-01 21:56:12 +05:30
1 parent 19950dffe1
commit 87506f4b74
1 file changed
-20
-20
View File
@@ -1,20 +0,0 @@
//go:build !withsidecar
package sidecar
import "testing"
func TestStub_IsPlaceholder(t *testing.T) {
if !IsPlaceholder() {
t.Errorf("default build should be a placeholder")
}
if EmbeddedSize() != 0 {
t.Errorf("stub should have empty embedded JAR, got size %d", EmbeddedSize())
}
}
func TestStub_ExtractFails(t *testing.T) {
if _, err := Extract(t.TempDir()); err == nil {
t.Fatal("expected Extract to fail in stub mode")
}
}