package com.github.rvesse.airline;

import com.google.common.base.Joiner;
import org.testng.annotations.Test;

public class TestPing
{
    @Test
    public void test()
    {
        // simple command parsing example
        ping();
        ping("-c", "5");
        ping("--count", "9");
        ping("--count:8");

        // show help
        ping("-h");
        ping("--help");
    }

    private void ping(String... args)
    {
        System.out.println("$ ping " + Joiner.on(' ').join(args));
        Ping.main(args);
        System.out.println();
    }
}

@@ -305,9 +305,9 @@
 ount
-:
+=
 8%22);

Fix up test broken by merge (#20)