lib/github: update for Github API changes
authorAlexis Laferrière <alexis.laf@xymus.net>
Sat, 29 Oct 2016 14:11:00 +0000 (10:11 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Fri, 4 Nov 2016 13:08:16 +0000 (09:08 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

lib/github/api.nit

index 8bd1ee3..dfa601c 100644 (file)
@@ -466,7 +466,7 @@ class GithubAPI
        #     assert repo != null
        #     var comment = api.load_commit_comment(repo, 8982707)
        #     assert comment.user.login == "Morriar"
-       #     assert comment.body == "For testing purposes..."
+       #     assert comment.body == "For testing purposes...\n"
        #     assert comment.commit_id == "7eacb86d1e24b7e72bc9ac869bf7182c0300ceca"
        fun load_commit_comment(repo: Repo, id: Int): nullable CommitComment do
                return load_from_github("/repos/{repo.full_name}/comments/{id}").as(nullable CommitComment)