summaryrefslogtreecommitdiff
path: root/Examples/test-suite/lua
diff options
context:
space:
mode:
authorluz.paz <luzpaz@users.noreply.github.com>2018-05-14 11:00:52 -0400
committerluz paz <luzpaz@users.noreply.github.com>2018-05-17 10:04:23 -0400
commit60dfa31a67601f25a3ca171ae7d2503a46e0ec03 (patch)
treedc18e5f0bbd4b97bd3b562149408fa8212b0f598 /Examples/test-suite/lua
parent3eb41c9beb4b420bc58b9c2b97316f35dc3be7be (diff)
downloadswig-60dfa31a67601f25a3ca171ae7d2503a46e0ec03.tar.gz
Misc. typos
found via `codespell` and `grep`
Diffstat (limited to 'Examples/test-suite/lua')
-rw-r--r--Examples/test-suite/lua/li_std_string_runme.lua4
-rw-r--r--Examples/test-suite/lua/newobject2_runme.lua4
2 files changed, 4 insertions, 4 deletions
diff --git a/Examples/test-suite/lua/li_std_string_runme.lua b/Examples/test-suite/lua/li_std_string_runme.lua
index 956bea0fc..a36bf7ef6 100644
--- a/Examples/test-suite/lua/li_std_string_runme.lua
+++ b/Examples/test-suite/lua/li_std_string_runme.lua
@@ -32,8 +32,8 @@ assert(is_std_string(cobj) and cobj:c_str()=="x") -- check type & value
test_const_pointer(cobj)
--- this shouldnt work, but it does
--- swig doesnt appear to diff between const object ptrs & object ptrs very well
+-- this shouldn't work, but it does
+-- swig doesn't appear to diff between const object ptrs & object ptrs very well
test_pointer(cobj) -- this wants an non const object (give it a const one!)
-- refs are also wrappered as ptrs (unless the correct typemaps are applied)
diff --git a/Examples/test-suite/lua/newobject2_runme.lua b/Examples/test-suite/lua/newobject2_runme.lua
index cf6c87ae7..748c95372 100644
--- a/Examples/test-suite/lua/newobject2_runme.lua
+++ b/Examples/test-suite/lua/newobject2_runme.lua
@@ -1,8 +1,8 @@
require("import") -- the import fn
import("newobject2",true) -- import code
-foo1 = newobject2.makeFoo() -- lua doesnt yet support static fns properly
-assert(newobject2.fooCount() == 1) -- lua doesnt yet support static fns properly
+foo1 = newobject2.makeFoo() -- lua doesn't yet support static fns properly
+assert(newobject2.fooCount() == 1) -- lua doesn't yet support static fns properly
foo2 = newobject2.makeFoo()
assert(newobject2.fooCount() == 2)