Skip to content

Commit 293b71a

Browse files
epageEh2406
authored andcommitted
test(registry): Provide more room from tests conflicting with reality
1 parent c2d26f3 commit 293b71a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/testsuite/registry.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2604,7 +2604,9 @@ fn ignores_unknown_index_version_git() {
26042604
fn ignores_unknown_index_version() {
26052605
// If the version field is not understood, it is ignored.
26062606
Package::new("bar", "1.0.0").publish();
2607-
Package::new("bar", "1.0.1").schema_version(9999).publish();
2607+
Package::new("bar", "1.0.1")
2608+
.schema_version(u32::MAX)
2609+
.publish();
26082610

26092611
let p = project()
26102612
.file(

0 commit comments

Comments
 (0)