Remove UUID

This commit is contained in:
binwiederhier
2025-07-19 15:44:49 +02:00
parent ae62e0d955
commit 57df16dd62
7 changed files with 4 additions and 50 deletions

View File

@@ -31,24 +31,3 @@ func TestAdler32Sum(t *testing.T) {
t.Error(err)
}
}
func TestUUIDGeneration(t *testing.T) {
tpl := `{{uuidv4}}`
out, err := runRaw(tpl, nil)
if err != nil {
t.Error(err)
}
if len(out) != 36 {
t.Error("Expected UUID of length 36")
}
out2, err := runRaw(tpl, nil)
if err != nil {
t.Error(err)
}
if out == out2 {
t.Error("Expected subsequent UUID generations to be different")
}
}