We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b042f8b commit 7ba27e6Copy full SHA for 7ba27e6
tests/Doc/PipeTransExample.cs
@@ -3,7 +3,6 @@
3
using StackExchange.Redis;
4
//REMOVE_START
5
using NRedisStack.Tests;
6
-using System.Threading.Tasks;
7
8
namespace Doc;
9
[Collection("DocsTests")]
@@ -38,8 +37,9 @@ public async Task run()
38
37
39
// STEP_START basic_pipe
40
var pipeline = new Pipeline(db);
41
-
42
- for (int i = 0; i < 5; i++) {
+
+ for (int i = 0; i < 5; i++)
+ {
43
pipeline.Db.StringSetAsync($"seat:{i}", $"#{i}");
44
}
45
pipeline.Execute();
@@ -82,7 +82,7 @@ public async Task run()
82
Assert.Equal("2", resp5);
83
Assert.Equal("3", resp6);
84
// REMOVE_END
85
86
// STEP_START trans_watch
87
var watchedTrans = new Transaction(db);
88
0 commit comments