|
1 | 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP |
2 | 2 |
|
| 3 | +exports[`Lua version 5.1 / global LuaThread and LuaUserdata can be extended 1`] = ` |
| 4 | +"thread = coroutine.create(function() |
| 5 | +end) |
| 6 | +threadTag = thread.tag |
| 7 | +userdataTag = userdata.tag" |
| 8 | +`; |
| 9 | + |
3 | 10 | exports[`Lua version 5.1 / global assert 1`] = `"assert({bla = \\"not false\\"})"`; |
4 | 11 |
|
5 | 12 | exports[`Lua version 5.1 / global assert 2`] = `"assert(false, \\"assert message\\")"`; |
@@ -104,6 +111,13 @@ exports[`Lua version 5.1 / global tostring 1`] = `"str = tostring(213.4)"`; |
104 | 111 |
|
105 | 112 | exports[`Lua version 5.1 / global type 1`] = `"t = type(213.4)"`; |
106 | 113 |
|
| 114 | +exports[`Lua version 5.2 / global LuaThread and LuaUserdata can be extended 1`] = ` |
| 115 | +"thread = coroutine.create(function() |
| 116 | +end) |
| 117 | +threadTag = thread.tag |
| 118 | +userdataTag = userdata.tag" |
| 119 | +`; |
| 120 | + |
107 | 121 | exports[`Lua version 5.2 / global assert 1`] = `"assert({bla = \\"not false\\"})"`; |
108 | 122 |
|
109 | 123 | exports[`Lua version 5.2 / global assert 2`] = `"assert(false, \\"assert message\\")"`; |
@@ -208,6 +222,13 @@ exports[`Lua version 5.2 / global tostring 1`] = `"str = tostring(213.4)"`; |
208 | 222 |
|
209 | 223 | exports[`Lua version 5.2 / global type 1`] = `"t = type(213.4)"`; |
210 | 224 |
|
| 225 | +exports[`Lua version 5.3 / global LuaThread and LuaUserdata can be extended 1`] = ` |
| 226 | +"thread = coroutine.create(function() |
| 227 | +end) |
| 228 | +threadTag = thread.tag |
| 229 | +userdataTag = userdata.tag" |
| 230 | +`; |
| 231 | + |
211 | 232 | exports[`Lua version 5.3 / global assert 1`] = `"assert({bla = \\"not false\\"})"`; |
212 | 233 |
|
213 | 234 | exports[`Lua version 5.3 / global assert 2`] = `"assert(false, \\"assert message\\")"`; |
@@ -312,6 +333,13 @@ exports[`Lua version 5.3 / global tostring 1`] = `"str = tostring(213.4)"`; |
312 | 333 |
|
313 | 334 | exports[`Lua version 5.3 / global type 1`] = `"t = type(213.4)"`; |
314 | 335 |
|
| 336 | +exports[`Lua version 5.4 / global LuaThread and LuaUserdata can be extended 1`] = ` |
| 337 | +"thread = coroutine.create(function() |
| 338 | +end) |
| 339 | +threadTag = thread.tag |
| 340 | +userdataTag = userdata.tag" |
| 341 | +`; |
| 342 | + |
315 | 343 | exports[`Lua version 5.4 / global assert 1`] = `"assert({bla = \\"not false\\"})"`; |
316 | 344 |
|
317 | 345 | exports[`Lua version 5.4 / global assert 2`] = `"assert(false, \\"assert message\\")"`; |
@@ -416,6 +444,13 @@ exports[`Lua version 5.4 / global tostring 1`] = `"str = tostring(213.4)"`; |
416 | 444 |
|
417 | 445 | exports[`Lua version 5.4 / global type 1`] = `"t = type(213.4)"`; |
418 | 446 |
|
| 447 | +exports[`Lua version JIT / global LuaThread and LuaUserdata can be extended 1`] = ` |
| 448 | +"thread = coroutine.create(function() |
| 449 | +end) |
| 450 | +threadTag = thread.tag |
| 451 | +userdataTag = userdata.tag" |
| 452 | +`; |
| 453 | + |
419 | 454 | exports[`Lua version JIT / global assert 1`] = `"assert({bla = \\"not false\\"})"`; |
420 | 455 |
|
421 | 456 | exports[`Lua version JIT / global assert 2`] = `"assert(false, \\"assert message\\")"`; |
|
0 commit comments