Skip to content

Commit 85b81e8

Browse files
committed
change name in testdata files
1 parent 5c5d1e8 commit 85b81e8

7 files changed

+7
-7
lines changed

java/src/test/java/io/cucumber/query/QueryAcceptanceTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ private static Map<String, Object> createQueryResults(Query query) {
137137
.map(hook -> hook.map(Hook::getId))
138138
.filter(Optional::isPresent)
139139
.collect(toList()));
140-
results.put("findLocationBy", query.findAllPickles().stream()
140+
results.put("findLocationOf", query.findAllPickles().stream()
141141
.map(query::findLocationOf)
142142
.filter(Optional::isPresent)
143143
.collect(toList()));

testdata/attachments.feature.query-results.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
"Attachments",
9797
"Attachments"
9898
],
99-
"findLocationBy" : [
99+
"findLocationOf" : [
100100
{
101101
"line" : 12,
102102
"column" : 3

testdata/empty.feature.query-results.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"findFeatureBy" : [
2525
"Empty Scenarios"
2626
],
27-
"findLocationBy" : [
27+
"findLocationOf" : [
2828
{
2929
"line" : 7,
3030
"column" : 3

testdata/examples-tables.feature.query-results.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"Examples Tables",
4141
"Examples Tables"
4242
],
43-
"findLocationBy" : [
43+
"findLocationOf" : [
4444
{
4545
"line" : 19,
4646
"column" : 7

testdata/hooks.feature.query-results.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"0",
3737
"3"
3838
],
39-
"findLocationBy" : [
39+
"findLocationOf" : [
4040
{
4141
"line" : 4,
4242
"column" : 3

testdata/minimal.feature.query-results.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"findFeatureBy" : [
2525
"minimal"
2626
],
27-
"findLocationBy" : [
27+
"findLocationOf" : [
2828
{
2929
"line" : 9,
3030
"column" : 3

testdata/rules.feature.query-results.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"Usage of a `Rule`",
2929
"Usage of a `Rule`"
3030
],
31-
"findLocationBy" : [
31+
"findLocationOf" : [
3232
{
3333
"line" : 9,
3434
"column" : 5

0 commit comments

Comments
 (0)