test: harden DWH auth review gates
This commit is contained in:
@@ -17,7 +17,12 @@ func TestGenerateProducesCanonicalV1Material(t *testing.T) {
|
||||
t.Fatalf("Generate() error = %v", err)
|
||||
}
|
||||
|
||||
if got, want := string(material.Value), "thtdwh_v1.f39_f39_f39_f39_.f39_f39_f39_f39_f39_f39_f39_f39_f39_f39_f38"; got != want {
|
||||
wantValue := strings.Join([]string{
|
||||
Prefix,
|
||||
"f39_f39_f39_f39_",
|
||||
"f39_f39_f39_f39_f39_f39_f39_f39_f39_f39_f38",
|
||||
}, ".")
|
||||
if got, want := string(material.Value), wantValue; got != want {
|
||||
t.Fatalf("Value = %q, want %q", got, want)
|
||||
}
|
||||
if got, want := len(material.Value), 70; got != want {
|
||||
|
||||
Reference in New Issue
Block a user