Package com.jcabi.github

Examples of com.jcabi.github.Pull.number()


    @Test
    public void canCreateAPull() throws Exception {
        final Repo repo = MkPullsTest.repo();
        final Pull pull = repo.pulls().create("hello", "", "");
        final Issue.Smart issue = new Issue.Smart(
            repo.issues().get(pull.number())
        );
        MatcherAssert.assertThat(
            issue.title(),
            Matchers.is("hello")
        );
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.