gnodet commented on code in PR #13152:
URL: https://github.com/apache/maven/pull/13152#discussion_r4023631750


##########
impl/maven-impl/src/test/java/org/apache/maven/impl/model/profile/OperatingSystemProfileActivatorTest.java:
##########
@@ -145,4 +145,16 @@ void testCapitalOsName() {
         assertActivation(false, profile, newContext(null, 
newProperties("windows", "99", "amd64")));
         assertActivation(true, profile, newContext(null, newProperties("Mac OS 
X", "14.5", "aarch64")));
     }
+
+    @Test
+    void testCapitalFamily() {
+        Profile winnt = newProfile(ActivationOS.newBuilder().family("WinNT"));
+
+        assertActivation(true, winnt, newContext(null, newProperties("windows 
11", "10.0", "amd64")));
+        assertActivation(false, winnt, newContext(null, newProperties("linux", 
"6.5.0-1014-aws", "amd64")));
+
+        Profile mac = newProfile(ActivationOS.newBuilder().family("Mac"));
+

Review Comment:
   Fixed in 6711e72a37.



-- 
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