Add tests

This commit is contained in:
Krishna Vishal 2025-11-01 10:28:15 +05:30
parent 8300f2dae7
commit 173baa7e0e
3 changed files with 83 additions and 0 deletions

View file

@ -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}