Skip to content

Commit

Permalink
Use Lua 5.2 idioms for require.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbalmer committed Feb 15, 2015
1 parent 8b64527 commit be09676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testdb.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'pgsql'
local pgsql = require 'pgsql'

conn = pgsql.connectdb('dbname=arcapos user=lua password=42')
print(conn:errorMessage())
Expand Down

0 comments on commit be09676

Please sign in to comment.