From c5009ab44b87a250d6272f51ad60d44c7b8474df Mon Sep 17 00:00:00 2001 From: Jesse Glick Date: Fri, 16 Dec 2016 15:04:10 -0500 Subject: [PATCH] Fix syntactically malformed test JSON. --- .../org/kohsuke/github/GHEventPayloadTest/label.json | 3 +-- .../org/kohsuke/github/GHEventPayloadTest/milestone.json | 6 ++---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/label.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/label.json index f85f636f89..b7a0be1b2e 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/label.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/label.json @@ -65,8 +65,7 @@ "issues_url": "https://api.github.com/repos/baxterandthehackers/public-repo/issues{/number}", "pulls_url": "https://api.github.com/repos/baxterandthehackers/public-repo/pulls{/number}", "milestones_url": "https://api.github.com/repos/baxterandthehackers/public-repo/milestones{/number}", - "notifications_url": "https://api.github.com/repos/baxterandthehackers/public-repo/notifications{?since,all, - participating}", + "notifications_url": "https://api.github.com/repos/baxterandthehackers/public-repo/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/baxterandthehackers/public-repo/labels{/name}", "releases_url": "https://api.github.com/repos/baxterandthehackers/public-repo/releases{/id}", "deployments_url": "https://api.github.com/repos/baxterandthehackers/public-repo/deployments", diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/milestone.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/milestone.json index 7f262abd5c..1cd673eef5 100644 --- a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/milestone.json +++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/milestone.json @@ -2,8 +2,7 @@ "action": "created", "milestone": { "url": "https://api.github.com/repos/baxterandthehackers/public-repo/milestones/3", - "html_url": "https://github.com/baxterandthehackers/public-repo/milestones/Test%20milestone%20creation%20webhook - %20from%20command%20line2", + "html_url": "https://github.com/baxterandthehackers/public-repo/milestones/Test%20milestone%20creation%20webhook%20from%20command%20line2", "labels_url": "https://api.github.com/repos/baxterandthehackers/public-repo/milestones/3/labels", "id": 2055681, "number": 3, @@ -96,8 +95,7 @@ "issues_url": "https://api.github.com/repos/baxterandthehackers/public-repo/issues{/number}", "pulls_url": "https://api.github.com/repos/baxterandthehackers/public-repo/pulls{/number}", "milestones_url": "https://api.github.com/repos/baxterandthehackers/public-repo/milestones{/number}", - "notifications_url": "https://api.github.com/repos/baxterandthehackers/public-repo/notifications{?since,all, - participating}", + "notifications_url": "https://api.github.com/repos/baxterandthehackers/public-repo/notifications{?since,all,participating}", "labels_url": "https://api.github.com/repos/baxterandthehackers/public-repo/labels{/name}", "releases_url": "https://api.github.com/repos/baxterandthehackers/public-repo/releases{/id}", "deployments_url": "https://api.github.com/repos/baxterandthehackers/public-repo/deployments",