mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-12-23 08:21:09 +00:00
Add tests
This commit is contained in:
parent
8300f2dae7
commit
173baa7e0e
3 changed files with 83 additions and 0 deletions
|
|
@ -20,3 +20,9 @@ do_execsql_test_on_specific_db {:memory:} affinity-rowid {
|
|||
select * from t where a = '1';
|
||||
} {1
|
||||
1}
|
||||
|
||||
do_execsql_test_on_specific_db {:memory:} affinity-ascii-whitespace-1.1 {
|
||||
CREATE TABLE nb1(i INTEGER);
|
||||
INSERT INTO nb1 VALUES ('12' || CHAR(160));
|
||||
SELECT TYPEOF(i), LENGTH(i) FROM nb1;
|
||||
} {text|3}
|
||||
Loading…
Add table
Add a link
Reference in a new issue