summaryrefslogtreecommitdiff
path: root/bindings/lua/test.lua
diff options
context:
space:
mode:
authorJosh Haberman <haberman@google.com>2013-05-11 16:45:38 -0700
committerJosh Haberman <haberman@google.com>2013-05-11 16:45:38 -0700
commitcfdb9907cb87d15eaab72ceefbfa42fd7a4c3127 (patch)
tree63f5d70ad64daeeb4ffc777c2c3afd50e2e281b1 /bindings/lua/test.lua
parent7d3e2bd2c4cfd1296d1d6f996d7548de26540d41 (diff)
Synced with 3 months of Google-internal development.
Major changes: - Got rid of all bytestream interfaces in favor of using regular handlers. - new Pipeline object represents a upb pipeline, does bump allocation internally to manage memory. - proto2 support now can handle extensions.
Diffstat (limited to 'bindings/lua/test.lua')
-rw-r--r--bindings/lua/test.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/bindings/lua/test.lua b/bindings/lua/test.lua
index 6b162a9..fc4db70 100644
--- a/bindings/lua/test.lua
+++ b/bindings/lua/test.lua
@@ -13,6 +13,7 @@ function test_fielddef()
assert_false(f:is_frozen())
assert_nil(f:number())
assert_nil(f:name())
+ assert_nil(f:type())
assert_equal(upb.LABEL_OPTIONAL, f:label())
f:set_name("foo_field")
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback