()
| 16 | String quoted = "\" \""; |
| 17 | |
| 18 | @Test |
| 19 | public void testMain() { |
| 20 | JCommander jc = new JCommander(this); |
| 21 | jc.parse(quoted); |
| 22 | Assert.assertEquals(args.size(), 1); |
| 23 | Assert.assertEquals(args.get(0), " "); |
| 24 | } |
| 25 | |
| 26 | public static void main(String[] args) { |
| 27 | new QuotedMainTest().testMain(); |