Skip to content

Commit

Permalink
Add version checking for the test expected resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
grillo-delmal committed Sep 23, 2024
1 parent 39c2db3 commit 7dd8fd8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/dub/test/dependencies.d
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ version "0.0.1"`, PackageFormat.sdl);
dub.upgrade(UpgradeOptions.select);

assert(dub.project.hasAllDependencies(), "project have missing dependencies");
assert(dub.project.getDependency("c", true).version_ == Version("0.0.0"));
}

unittest
Expand All @@ -174,4 +175,5 @@ version "0.0.1"`, PackageFormat.sdl);
dub.upgrade(UpgradeOptions.select);

assert(dub.project.hasAllDependencies(), "project have missing dependencies");
assert(dub.project.getDependency("c", true).version_ == Version("0.0.0"));
}

0 comments on commit 7dd8fd8

Please sign in to comment.