Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for parseFailsWhenCommandLineContainsUnknownLongOptionWithSingleDashes (0.66 sec)

  1. platforms/core-runtime/cli/src/test/groovy/org/gradle/cli/CommandLineParserTest.groovy

            then:
            def e = thrown(CommandLineArgumentException)
            e.message == 'Unknown command-line option \'--unknown\'.'
        }
    
        def parseFailsWhenCommandLineContainsUnknownLongOptionWithSingleDashes() {
            when:
            parser.parse(['-unknown'])
    
            then:
            def e = thrown(CommandLineArgumentException)
            e.message == 'Unknown command-line option \'-u\'.'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:00:57 UTC 2023
    - 20.8K bytes
    - Viewed (0)
Back to top