Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCleanArgsShouldNotTouchCorrectlyQuotedArgumentsUsingDoubleQuotes (0.25 sec)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/CleanArgumentTest.java

            assertEquals(args.length, cleanArgs.length);
            assertEquals("-Dfoo=bar", cleanArgs[0]);
            assertEquals("-Dfoo2=bar two", cleanArgs[1]);
        }
    
        @Test
        void testCleanArgsShouldNotTouchCorrectlyQuotedArgumentsUsingDoubleQuotes() {
            String information = "-Dinformation=\"The Information is important.\"";
            String[] args = {information};
            String[] cleanArgs = CleanArgument.cleanArgs(args);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top