Skip to content

Commit c195475

Browse files
committed
fix collection initializer
1 parent 194f9f6 commit c195475

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/NRedisStack.Tests/Search/SearchTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1273,7 +1273,7 @@ public void TestAggregationGroupBy()
12731273
// TODO: complete this assert after handling multi bulk reply
12741274
actual = (List<object>)res.Get("random");
12751275
Assert.Equal(2, actual.Count);
1276-
List<string> possibleValues = ["RediSearch", "RedisAI", "RedisJson"];
1276+
List<string> possibleValues = new List<string>() { "RediSearch", "RedisAI", "RedisJson" };
12771277
Assert.Contains(actual[0].ToString(), possibleValues);
12781278
Assert.Contains(actual[1].ToString(), possibleValues);
12791279

0 commit comments

Comments
 (0)