add check for testbson
local bson = require "bson"
-sub = bson.encode_order( "hello", 1, "world", 2 )
+local sub = bson.encode_order( "hello", 1, "world", 2 )
+
+do
+ -- check decode encode_order
+ local d = bson.decode(sub)
+ assert(d.hello == 1 )
+ assert(d.world == 2 )
+end
local function tbl_next(...)
print("--- next.a", ...)
