From b7c8cbc2531c1d0f5a630deeee19eb55c1a447f9 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 8 Sep 2023 20:51:05 +0000 Subject: [PATCH] test(registry): Provide more room from tests conflicting with reality --- tests/testsuite/registry.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/testsuite/registry.rs b/tests/testsuite/registry.rs index 0569249e07fc..2181f2ebb2b4 100644 --- a/tests/testsuite/registry.rs +++ b/tests/testsuite/registry.rs @@ -2604,7 +2604,9 @@ fn ignores_unknown_index_version_git() { fn ignores_unknown_index_version() { // If the version field is not understood, it is ignored. Package::new("bar", "1.0.0").publish(); - Package::new("bar", "1.0.1").schema_version(9999).publish(); + Package::new("bar", "1.0.1") + .schema_version(u32::MAX) + .publish(); let p = project() .file(