diff --git a/test/big/iterator.result b/test/big/iterator.result index 1ac42d9c72724e14e83121cc724451442a447587..f2dbdf1dcfd95da5eaeec6992a3dff36338ba9f2 100644 --- a/test/big/iterator.result +++ b/test/big/iterator.result @@ -891,7 +891,7 @@ space.index['primary']:pairs({}, {iterator = -666 }) -- Test cases for #123: box.index.count does not check arguments properly space.index['primary']:pairs(function() end, { iterator = box.index.EQ }) --- -- error: 'builtin/msgpackffi.lua:258: can not encode Lua type: ''function''' +- error: 'builtin/msgpackffi.lua:259: can not encode Lua type: ''function''' ... -- Check that iterators successfully invalidated when index deleted gen, param, state = space.index['i1']:pairs(nil, { iterator = box.index.GE }) @@ -941,18 +941,14 @@ gen, param, state = space.index.t1:pairs({}, {iterator = box.index.ALL}) print(gen(param, state)) --- ... -id = s.index.t1.id +id = space.index.t1.id --- -- error: '[string "id = s.index.t1.id "]:1: attempt to index field ''t1'' (a nil value)' ... -box.schema.index.drop(s.id, id) +box.schema.index.drop(space.id, id) --- -- error: Illegal parameters, index_id should be a number ... -box.schema.index.alter(s.id, s.index.t2.id, {id = id}) +box.schema.index.alter(space.id, space.index.t2.id, {id = id}) --- -- error: '[string "return box.schema.index.alter(s.id, s.index.t..."]:1: attempt to - index field ''t2'' (a nil value)' ... print(gen(param, state)) --- diff --git a/test/big/iterator.test.lua b/test/big/iterator.test.lua index 02cfccf994bcac0622c67d2df26f11d2c2ed0677..d98feee2b5327a801948c9bb2a46d2ad94d81444 100644 --- a/test/big/iterator.test.lua +++ b/test/big/iterator.test.lua @@ -186,9 +186,9 @@ box.space.test:insert{1} gen, param, state = space.index.t1:pairs({}, {iterator = box.index.ALL}) print(gen(param, state)) -id = s.index.t1.id -box.schema.index.drop(s.id, id) -box.schema.index.alter(s.id, s.index.t2.id, {id = id}) +id = space.index.t1.id +box.schema.index.drop(space.id, id) +box.schema.index.alter(space.id, space.index.t2.id, {id = id}) print(gen(param, state)) diff --git a/test/box/msgpack.result b/test/box/msgpack.result index 7d3d684d31046da475517c9c7fa77c30ba5e4597..e09b2b99fbe105248c9e45cbd70822338053dd48 100644 --- a/test/box/msgpack.result +++ b/test/box/msgpack.result @@ -672,5 +672,5 @@ offset ... a, offset = msgpackffi.decode_unchecked(dump, offset) --- -- error: 'builtin/msgpackffi.lua:457: offset = 9 is out of bounds [1..8]' +- error: 'builtin/msgpackffi.lua:458: offset = 9 is out of bounds [1..8]' ...