Skip to content

Commit

Permalink
test(registry): Provide more room from tests conflicting with reality
Browse files Browse the repository at this point in the history
  • Loading branch information
epage authored and Eh2406 committed Sep 11, 2023
1 parent c2d26f3 commit 293b71a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/testsuite/registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 293b71a

Please sign in to comment.