mirror of
https://github.com/jlengrand/github-api.git
synced 2026-03-20 15:50:29 +00:00
17 lines
387 B
Java
17 lines
387 B
Java
package org.kohsuke.github;
|
|
|
|
import org.junit.Test;
|
|
|
|
import java.io.IOException;
|
|
|
|
/**
|
|
* @author Kohsuke Kawaguchi
|
|
*/
|
|
public class CommitTest extends AbstractGitHubApiTestBase {
|
|
@Test // issue 152
|
|
public void lastStatus() throws IOException {
|
|
GHTag t = gitHub.getRepository("stapler/stapler").listTags().iterator().next();
|
|
t.getCommit().getLastStatus();
|
|
}
|
|
}
|