Skip to content

Commit dba9f46

Browse files
Merge pull request #74 from LuohuaRain/patch-1
Update BooksServiceTest.cs
2 parents 6f8a506 + 84f82fe commit dba9f46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2_Libs/Tests/MockingSamples/BooksLib.Tests/Services/BooksServiceTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class BooksServiceTest : IDisposable
1414
public const string APublisher = "A Publisher";
1515
private BooksService _booksService;
1616

17-
private Book _newBook = new Book
17+
private Book _newBook = new()
1818
{
1919
BookId = 0,
2020
Title = TestTitle,

0 commit comments

Comments
 (0)