aboutsummaryrefslogtreecommitdiffstats
path: root/prog/rand.go
diff options
context:
space:
mode:
Diffstat (limited to 'prog/rand.go')
-rw-r--r--prog/rand.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/prog/rand.go b/prog/rand.go
index 8337e7af4..c91ffeee4 100644
--- a/prog/rand.go
+++ b/prog/rand.go
@@ -768,6 +768,8 @@ func (a *BufferType) generate(r *randGen, s *state, dir Dir) (arg Arg, calls []*
return MakeOutDataArg(a, dir, uint64(r.Intn(100))), nil
}
return MakeDataArg(a, dir, r.generateText(a.Text)), nil
+ case BufferCompressed:
+ panic(fmt.Sprintf("can't generate compressed type %v", a))
default:
panic("unknown buffer kind")
}