From 1e998b90c03cb1c10fec98e7e3535426c286040b Mon Sep 17 00:00:00 2001 From: shacharPash Date: Wed, 27 Sep 2023 12:45:37 +0300 Subject: [PATCH] dotnet format --- src/NRedisStack/Bloom/BloomCommands.cs | 2 +- src/NRedisStack/Search/SearchCommands.cs | 2 +- tests/NRedisStack.Tests/Json/JsonTests.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/NRedisStack/Bloom/BloomCommands.cs b/src/NRedisStack/Bloom/BloomCommands.cs index 99694540..d4f3acb9 100644 --- a/src/NRedisStack/Bloom/BloomCommands.cs +++ b/src/NRedisStack/Bloom/BloomCommands.cs @@ -12,7 +12,7 @@ public BloomCommands(IDatabase db) : base(db) } /// - public bool Add (RedisKey key, RedisValue item) + public bool Add(RedisKey key, RedisValue item) { return _db.Execute(BloomCommandBuilder.Add(key, item)).ToString() == "1"; } diff --git a/src/NRedisStack/Search/SearchCommands.cs b/src/NRedisStack/Search/SearchCommands.cs index 80435e77..30a1e58d 100644 --- a/src/NRedisStack/Search/SearchCommands.cs +++ b/src/NRedisStack/Search/SearchCommands.cs @@ -42,7 +42,7 @@ public AggregationResult Aggregate(string index, AggregationRequest query) } /// - public bool AliasAdd (string alias, string index) + public bool AliasAdd(string alias, string index) { return _db.Execute(SearchCommandBuilder.AliasAdd(alias, index)).OKtoBoolean(); } diff --git a/tests/NRedisStack.Tests/Json/JsonTests.cs b/tests/NRedisStack.Tests/Json/JsonTests.cs index a28f0ce6..70294443 100644 --- a/tests/NRedisStack.Tests/Json/JsonTests.cs +++ b/tests/NRedisStack.Tests/Json/JsonTests.cs @@ -760,7 +760,7 @@ public async Task MSetAsync() }; await commands.MSetAsync(values) ; - var result = await commands.MGetAsync (keys.Select(x => new RedisKey(x)).ToArray(), "$.a"); + var result = await commands.MGetAsync(keys.Select(x => new RedisKey(x)).ToArray(), "$.a"); Assert.Equal("[\"hello\"]", result[0].ToString()); Assert.Equal("[\"world\"]", result[1].ToString());