diff options
author | Tomas Guisasola <tomas@luaforge.net> | 2004-05-31 11:00:13 +0000 |
---|---|---|
committer | Tomas Guisasola <tomas@luaforge.net> | 2004-05-31 11:00:13 +0000 |
commit | d2baf844908d8d657d9bd3e1e5847343d7f91d38 (patch) | |
tree | 142ef16b310fa4bab3ebae34bd9d378f09d1b5d2 /lualdap/tests | |
parent | Erro de digitacao. (diff) | |
download | lualdap-d2baf844908d8d657d9bd3e1e5847343d7f91d38.tar.xz lualdap-d2baf844908d8d657d9bd3e1e5847343d7f91d38.zip |
Correcao de bug no retorno de entradas que sao referencias.
Melhoria no ingles da documentacao.
Diffstat (limited to 'lualdap/tests')
-rwxr-xr-x | lualdap/tests/test.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lualdap/tests/test.lua b/lualdap/tests/test.lua index 82b2fce..738b101 100755 --- a/lualdap/tests/test.lua +++ b/lualdap/tests/test.lua @@ -6,7 +6,7 @@ -- renamed and deleted at the end. -- -- See Copyright Notice in license.html --- $Id: test.lua,v 1.10 2004-01-15 13:30:15 tomas Exp $ +-- $Id: test.lua,v 1.11 2004-05-31 11:00:13 tomas Exp $ --------------------------------------------------------------------- DN_PAT = "^([^,=]+)%=([^,]+)%,(.*)$" @@ -49,7 +49,7 @@ end --------------------------------------------------------------------- --- checks for a value and throw an error if it's not the expected. +-- checks for a value and throw an error if it is not the expected. --------------------------------------------------------------------- function assert2 (expected, value, msg) io.write('.') @@ -101,7 +101,7 @@ function basic_test () local _,_,rdn_name,rdn_value = string.find (BASE, DN_PAT) assert2 (false, pcall (ld.compare, ld, BASE, rdn_name, rdn_value), "permitting the use of a closed connection") - -- it's ok to close a closed object, but nil is returned instead of 1. + -- it is ok to close a closed object, but nil is returned instead of 1. assert2 (nil, ld:close()) -- trying to connect to an invalid host. assert2 (nil, lualdap.open_simple ("unknown-server"), "this should be an error") |