aboutsummaryrefslogtreecommitdiffstats
path: root/test/lua/unit/sqlite3.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/lua/unit/sqlite3.lua')
-rw-r--r--test/lua/unit/sqlite3.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lua/unit/sqlite3.lua b/test/lua/unit/sqlite3.lua
index 9fec2b694..15dc3d3fb 100644
--- a/test/lua/unit/sqlite3.lua
+++ b/test/lua/unit/sqlite3.lua
@@ -41,7 +41,7 @@ context("Sqlite3 API", function()
assert_true(ret, "should be able to insert row")
for row in db:rows([[SELECT * FROM x;]]) do
- assert_equal(row.id, 1)
+ assert_equal(row.id, '1')
assert_equal(row.value, 'test')
end
os.remove('/tmp/rspamd_unit_test_sqlite3-2.sqlite')