mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-CR-52740 added parameters list test with empty parameters
GitOrigin-RevId: 0955ace75607ce0921c87747c5bde5a60b76ef2b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
346ef88c3c
commit
d1a4c54b03
@@ -320,5 +320,8 @@ public class ParametersListTest {
|
||||
|
||||
final String mixedQuotes = "cmd -a -b arg0 -c --long-option --long-opt2=arg1 arg2 arg3 -a \"a \\\"r g\" --foo='d e f'";
|
||||
assertEquals("Mixed quotes broken", expected, ParametersListUtil.parse(mixedQuotes, false, true));
|
||||
|
||||
assertEquals("Empty trailing parameter broken", asList("cmd", "", "-a", "", "", "text", "--long-option", ""),
|
||||
ParametersListUtil.parse("cmd -a 'text' --long-option ", false, true, true));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user