davsclaus commented on code in PR #29945:
URL: https://github.com/apache/camel/pull/29945#discussion_r4575013707


##########
dsl/camel-jbang/camel-jbang-core/src/test/java/org/apache/camel/dsl/jbang/core/commands/version/VersionSetTest.java:
##########
@@ -60,7 +60,7 @@ void shouldStoreVersionInGlobalConfig() throws Exception {
     void shouldStoreVersionRepoAndRuntimeTogether() throws Exception {
         UserConfigHelper.createUserConfig("");
 
-        VersionSet command = new VersionSet(new 
CamelJBangMain().withPrinter(printer));
+        VersionSet command = command();
         command.version = "4.10.0";
         command.repo = "https://repo.example.org/maven";;

Review Comment:
   Done in 64d02a4fb537: the test captures the repositories the version check 
gets, and asserts it is the `--repo`.
   
   _Claude Code on behalf of davsclaus_



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to