diff --git a/lib/util/__snapshots__/host-rules.spec.ts.snap b/lib/util/__snapshots__/host-rules.spec.ts.snap
index 8bf8dfa34b96f719821122225937a812f92e816d..615196fffed912b30e54356c03dcc01e2004b2f6 100644
--- a/lib/util/__snapshots__/host-rules.spec.ts.snap
+++ b/lib/util/__snapshots__/host-rules.spec.ts.snap
@@ -35,3 +35,13 @@ Array [
   "yet.another.local.registry",
 ]
 `;
+
+exports[`util/host-rules findAll() needs exact host matches 1`] = `
+Object {
+  "hostName": "nuget.org",
+  "hostType": "nuget",
+  "password": "p4$$w0rd",
+  "resolvedHost": "nuget.org",
+  "username": "root",
+}
+`;
diff --git a/lib/util/host-rules.spec.ts b/lib/util/host-rules.spec.ts
index 25931221229a3734c533412e9d0a322630f7c029..0d8d3af78942ce8c602fd4c70e6d5952edad30af 100644
--- a/lib/util/host-rules.spec.ts
+++ b/lib/util/host-rules.spec.ts
@@ -205,7 +205,7 @@ describe(getName(), () => {
       };
       add(hostRule);
       expect(findAll({ hostType: 'nuget' })).toHaveLength(1);
-      expect(findAll({ hostType: 'nuget' })[0]).toMatchObject(hostRule);
+      expect(findAll({ hostType: 'nuget' })[0]).toMatchSnapshot();
     });
   });
 });