UTBotJava icon indicating copy to clipboard operation
UTBotJava copied to clipboard

Broken summary text formatting

Open sofurihafe opened this issue 3 years ago • 0 comments

Description

Plain text summaries formatting is broken.

To Reproduce

  1. Generate a test for max method from intExamples.

Expected behavior

    /**
     * <pre>
     * Test executes conditions:
     *     {@code (x > y): True }
     * returns from: {@code return x; }
     * </pre>
     */
    @Test
    @DisplayName("max: x > y : True -> return x")
    public void testMax_XGreaterThanY() throws Exception  {
        <...>
    }

Actual behavior

    /**
    <pre>
    Test executes conditions:
 *     {@code (x > y): True }
 * returns from: {@code return x; }
 * </pre>
     */
    @Test
    @DisplayName("max: x > y : True -> return x")
    public void testMax_XGreaterThanY() throws Exception  {
        <...>
    }

Environment

sofurihafe avatar Feb 13 '23 14:02 sofurihafe