pzygielo commented on code in PR #914:
URL: https://github.com/apache/maven/pull/914#discussion_r1050028945


##########
maven-model/src/test/java/org/apache/maven/model/BuildTest.java:
##########
@@ -53,4 +53,12 @@ public void testToStringNullSafe()
         assertNotNull( new Build().toString() );
     }
 
+    public void testToStringNotNonsense()
+    {
+        Build build = new Build();
+
+        String s = build.toString();
+
+        assert 
"Build(super=BuildBase(super=PluginConfiguration(super=PluginContainer())))".equals(
 s ) : s;

Review Comment:
   > The toString() result should at least have the simple class name in it.
   
   Please suggest what else could be included, or what to leave.



-- 
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: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to