ports/databases/lua-lsqlite3/files/patch-test_tests-sqlite3.lua
Pat Maddox 676f3ba8b2 databases/lua-lsqlite3: Update to 0.9.6
Add test feature.
Switch to DISTVERSION.
Fix MASTER_SITES.
Co-authored-by: yds <yds@Necessitu.de>

Changelog: https://lua.sqlite.org/home/file?name=HISTORY&ci=v0.9.6

PR:		278202
Reported by:	yds <yds@Necessitu.de>
Approved by:	maintainer timeout (2 weeks)
2025-05-03 19:39:28 +02:00

12 lines
468 B
Lua

--- test/tests-sqlite3.lua.orig 2024-03-27 05:11:12 UTC
+++ test/tests-sqlite3.lua
@@ -1114,7 +1114,7 @@ function colla.test()
-- print(row.id,row.content)
--end
local n = 0
- for row in colla.db:nrows('SELECT * FROM test WHERE content="hElLo wOrLd"') do
+ for row in colla.db:nrows("SELECT * FROM test WHERE content='hElLo wOrLd'") do
-- print(row.id,row.content)
assert_equal (row.content:lower(), "hello world")
n = n + 1