Skip to content

Commit fff9dcb

Browse files
DOC-4448 tidied final example formatting
1 parent 8c43317 commit fff9dcb

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

tests/Doc/CmdsHashExample.cs

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
// EXAMPLE: cmds_hash
22
// HIDE_START
3-
4-
using NRedisStack.Tests;
53
using StackExchange.Redis;
6-
74
// HIDE_END
8-
95
// REMOVE_START
6+
using NRedisStack.Tests;
7+
108
namespace Doc;
119
[Collection("DocsTests")]
1210
// REMOVE_END
@@ -26,7 +24,6 @@ public void run()
2624
//REMOVE_END
2725
// HIDE_END
2826

29-
3027
// STEP_START hget
3128
bool res1 = db.HashSet("myhash", "field1", "foo");
3229

@@ -37,8 +34,6 @@ public void run()
3734
Console.WriteLine(res3); // >>> Null
3835

3936
// STEP_END
40-
41-
// Tests for 'hget' step.
4237
// REMOVE_START
4338
Assert.True(res1);
4439
Assert.Equal("foo", res2);
@@ -70,8 +65,6 @@ public void run()
7065
// >>> field1: Hello, field2: Hi, field3: World
7166

7267
// STEP_END
73-
74-
// Tests for 'hset' step.
7568
// REMOVE_START
7669
Assert.True(res4);
7770
Assert.Equal("Hello", res5);

0 commit comments

Comments
 (0)