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:
Martin Atkins 2018-09-07 12:24:38 -07:00
parent a7680ad175
commit 9632e032c4
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}
}