Skip to content

Commit 4bd3991

Browse files
committed
avg script still used groovy
1 parent 89a5527 commit 4bd3991

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Tests/Aggregations/Metric/Average/AverageAggregationUsageTests.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ public AverageAggregationUsageTests(ReadOnlyCluster i, EndpointUsage usage) : ba
3131
script = new
3232
{
3333
inline = "_value * 1.2",
34-
lang = "groovy"
3534
}
3635
}
3736
}
@@ -46,7 +45,7 @@ public AverageAggregationUsageTests(ReadOnlyCluster i, EndpointUsage usage) : ba
4645
)
4746
.Field(p => p.NumberOfCommits)
4847
.Missing(10)
49-
.Script(ss=>ss.Inline("_value * 1.2").Lang("groovy"))
48+
.Script(ss=>ss.Inline("_value * 1.2"))
5049
)
5150
);
5251

@@ -60,7 +59,7 @@ public AverageAggregationUsageTests(ReadOnlyCluster i, EndpointUsage usage) : ba
6059
{ "foo", "bar" }
6160
},
6261
Missing = 10,
63-
Script = new InlineScript("_value * 1.2") { Lang = "groovy" }
62+
Script = new InlineScript("_value * 1.2")
6463
}
6564
};
6665

0 commit comments

Comments
 (0)