Skip to content

Commit 7584861

Browse files
committed
Minor test improvement
1 parent ecb5ee3 commit 7584861

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

SQLiteSharp.Tests/ReadMeTest.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ public void Test2() {
5353
Sweet = new Sweet("orange"),
5454
});
5555

56-
// Find one item in the table matching a predicate
57-
//SweetWrapper? Sweet = Connection.Table<SweetWrapper>().FirstOrDefault();
58-
//Assert.NotNull(Sweet);
56+
// Find the first item in the table
57+
SweetWrapper? Sweet = Sweets.FindAll().FirstOrDefault();
58+
Assert.NotNull(Sweet);
5959
}
6060
}
6161

0 commit comments

Comments
 (0)