Style patches

This commit is contained in:
Artem Serebriyskiy 2013-11-01 02:09:06 +04:00 committed by William S Fulton
commit b9ba05be81
23 changed files with 90 additions and 90 deletions

View file

@ -10,16 +10,16 @@ setmetatable(env, {__index=function (t,i) error("undefined global variable `"..i
foo = spn.Foo()
foo.x = 7
assert( foo:getx() == 7 )
assert(foo:getx() == 7)
bar = spn.Bar(foo)
success = pcall(bar.getx, bar) -- Bar is not a smart pointer. Call should fail
assert( not success )
assert(not success)
spam = spn.Spam(foo)
success = pcall(spam.getx, spam) -- Spam is not a smart pointer. Call should fail
assert( not success )
assert(not success)
grok = spn.Grok(foo)
success = pcall(grok.getx, grok) -- Spam is not a smart pointer. Call should fail
assert( not success )
assert(not success)