Skip to content

Commit 12a5582

Browse files
committed
named label tests
1 parent 24fa6f5 commit 12a5582

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

test/labels.d

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import utils;
22

3-
// send normal label event --> nothing
3+
@("ignore-normal-labels")
44
unittest
55
{
66
setAPIExpectations(
@@ -13,7 +13,7 @@ unittest
1313
}.toDelegate);
1414
}
1515

16-
// send auto-merge label event, but closed PR --> nothing
16+
@("ignore-auto-merge-on-closed")
1717
unittest
1818
{
1919
setAPIExpectations(
@@ -26,7 +26,7 @@ unittest
2626
postGitHubHook("dlang_phobos_label_4921.json");
2727
}
2828

29-
// send auto-merge label event --> try merge --> failure
29+
@("fail-to-auto-merge")
3030
unittest
3131
{
3232
setAPIExpectations(
@@ -55,7 +55,7 @@ unittest
5555
}.toDelegate);
5656
}
5757

58-
// send auto-merge-squash label event --> try merge --> success
58+
@("succeed-to-auto-merge-squash")
5959
unittest
6060
{
6161
setAPIExpectations(
@@ -85,7 +85,7 @@ unittest
8585
);
8686
}
8787

88-
// test whether users can label their PR via the title
88+
@("label-via-title")
8989
unittest
9090
{
9191
setAPIExpectations(
@@ -111,7 +111,7 @@ unittest
111111
);
112112
}
113113

114-
// test that not only a selection of labels is accepted
114+
@("labels-via-title-are-whitelisted")
115115
unittest
116116
{
117117
setAPIExpectations(
@@ -130,7 +130,7 @@ unittest
130130
);
131131
}
132132

133-
// reproduce behavior of vibe-d/vibe-core/22
133+
@("reproduce-vibe-d/vibe-core#22")
134134
unittest
135135
{
136136
setAPIExpectations(
@@ -151,7 +151,7 @@ unittest
151151
postGitHubHook("vibe-d_vibe-core_label_22.json");
152152
}
153153

154-
// Fix dlang-tour/core/583 issue with null on the homepage field
154+
@("reproduce-dlang-tour/core#583")
155155
unittest
156156
{
157157
setAPIExpectations(

0 commit comments

Comments
 (0)