core: Fix TestContext2Apply_unstable
This expected count was a faulty port from the old logic. It expects 36 characters because this attribute value is a UUID string.
This commit is contained in:
parent
a7680ad175
commit
9632e032c4
|
@ -123,7 +123,7 @@ func TestContext2Apply_unstable(t *testing.T) {
|
|||
if !got.IsKnown() {
|
||||
t.Fatalf("random is still unknown after apply")
|
||||
}
|
||||
if got, want := len(got.AsString()), 1; got != want {
|
||||
if got, want := len(got.AsString()), 36; got != want {
|
||||
t.Fatalf("random string has wrong length %d; want %d", got, want)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue