Remove a case where a pointer appeared in text tests (#1251)
This printed a table. This will make Lua print the address of the table and hence the output of this test was non-deterministic. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
883b5934c0
commit
cb61c1884f
|
@ -42,7 +42,8 @@ o:method(1, 2, 3)
|
||||||
-- Random properties can also be added, the signal will be emitted automatically.
|
-- Random properties can also be added, the signal will be emitted automatically.
|
||||||
|
|
||||||
o:connect_signal("property::something", function(obj, value)
|
o:connect_signal("property::something", function(obj, value)
|
||||||
print("In the connection handler!", obj, value)
|
assert(obj == o)
|
||||||
|
print("In the connection handler!", value)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
print(o.something)
|
print(o.something)
|
||||||
|
|
Loading…
Reference in New Issue