backport of commit a3f8a52fd4b192db339540152033b94f1e010b31 (#19123)

Co-authored-by: Tim Gross <tgross@hashicorp.com>
This commit is contained in:
hc-github-team-nomad-core 2023-11-17 14:10:13 -06:00 committed by GitHub
parent ed9786c957
commit c742a55583
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -157,6 +157,6 @@ func testDynamicNodeMetadata(t *testing.T) {
must.Eq(t, "bar", resp.Meta[keyFoo])
must.Eq(t, "set", resp.Meta[keyUnset])
must.MapNotContainsKey(t, resp.Meta, keyEmpty)
must.MapContainsKey(t, resp.Dynamic, keyEmpty)
must.MapNotContainsKey(t, resp.Dynamic, keyEmpty)
must.Nil(t, resp.Dynamic[keyEmpty])
}