Skip to content

Commit 0917d7b

Browse files
committed
slightly improve test
1 parent 8949ed5 commit 0917d7b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

libsql-sqlite3/test/libsql_vector_index.test

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,10 @@ do_execsql_test vector-vacuum {
225225
CREATE TABLE t_vacuum ( emb FLOAT32(2) );
226226
INSERT INTO t_vacuum VALUES (vector('[1,2]')), (vector('[3,4]'));
227227
CREATE INDEX t_vacuum_idx ON t_vacuum(libsql_vector_idx(emb));
228-
VACUUM INTO ':memory:';
229-
} {}
228+
VACUUM;
229+
SELECT COUNT(*) FROM t_vacuum;
230+
SELECT COUNT(*) FROM t_vacuum_idx_shadow;
231+
} {2 2}
230232

231233
proc error_messages {sql} {
232234
set ret ""

0 commit comments

Comments
 (0)