Skip to content

Commit 98e9430

Browse files
committed
add test code
1 parent 37ca4a5 commit 98e9430

File tree

1 file changed

+2
-1
lines changed
  • FreeSql.Tests/FreeSql.Tests/Sqlite/SqliteExpression

1 file changed

+2
-1
lines changed

FreeSql.Tests/FreeSql.Tests/Sqlite/SqliteExpression/OtherTest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using FreeSql.DataAnnotations;
1+
using FreeSql.DataAnnotations;
22
using System;
33
using System.Collections.Generic;
44
using System.Linq;
@@ -79,6 +79,7 @@ public void Array()
7979
var testlinq = select.Where(a => testlinqlist.Contains(a.Int)).ToList();
8080
var testlinq2list = new string[] { };
8181
var testlinq2 = g.sqlite.Delete<TableAllType>().Where(a => testlinq2list.Contains(a.String)).ToSql();
82+
Assert.Equal("DELETE FROM \"tb_alltype\" WHERE (((\"String\") in (NULL)))", testlinq2);
8283

8384
//in not in
8485
var sql111 = select.Where(a => new[] { 1, 2, 3 }.Contains(a.Int)).ToList();

0 commit comments

Comments
 (0)