Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit d18d039

Browse files
committed
formatting
1 parent 88a8d78 commit d18d039

File tree

2 files changed

+16
-15
lines changed

2 files changed

+16
-15
lines changed

tests/ServiceStack.Redis.Tests/Examples/SimpleExamples.cs

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -55,22 +55,22 @@ public void Store_and_retrieve_some_blogs()
5555

5656
//create some blogs using unique Ids from the Blog sequence. Also adding references
5757
var mythzBlogs = new List<Blog>
58+
{
59+
new Blog
5860
{
59-
new Blog
60-
{
61-
Id = redisBlogs.GetNextSequence(),
62-
UserId = mythz.Id,
63-
UserName = mythz.Name,
64-
Tags = new List<string> { "Architecture", ".NET", "Redis" },
65-
},
66-
new Blog
67-
{
68-
Id = redisBlogs.GetNextSequence(),
69-
UserId = mythz.Id,
70-
UserName = mythz.Name,
71-
Tags = new List<string> { "Music", "Twitter", "Life" },
72-
},
73-
};
61+
Id = redisBlogs.GetNextSequence(),
62+
UserId = mythz.Id,
63+
UserName = mythz.Name,
64+
Tags = new List<string> { "Architecture", ".NET", "Redis" },
65+
},
66+
new Blog
67+
{
68+
Id = redisBlogs.GetNextSequence(),
69+
UserId = mythz.Id,
70+
UserName = mythz.Name,
71+
Tags = new List<string> { "Music", "Twitter", "Life" },
72+
},
73+
};
7474
//Add the blog references
7575
mythzBlogs.ForEach(x => mythz.BlogIds.Add(x.Id));
7676

tests/ServiceStack.Redis.Tests/ServiceStack.Redis.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@
177177
<ItemGroup>
178178
<Compile Include="AdhocClientTests.cs" />
179179
<Compile Include="DiagnosticTests.cs" />
180+
<Compile Include="Examples\ServiceStack_Redis_UseCase.cs" />
180181
<Compile Include="Generic\RedisClientListTestExtra.cs" />
181182
<Compile Include="LicenseUsageTests.cs" />
182183
<Compile Include="ManagedListGenericTests.cs" />

0 commit comments

Comments
 (0)