diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-05-03 10:36:19 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-05-03 10:36:19 -0300 |
| commit | 01bded3d8cd88a2d7f472b45f706565f1a9ef3b1 (patch) | |
| tree | da7f8f1eb23d852a876c1c61f64015aa10805403 /testes/attrib.lua | |
| parent | 7c5786479c1d617ec7c133f2c2b955726436267a (diff) | |
| download | lua-01bded3d8cd88a2d7f472b45f706565f1a9ef3b1.tar.gz lua-01bded3d8cd88a2d7f472b45f706565f1a9ef3b1.tar.bz2 lua-01bded3d8cd88a2d7f472b45f706565f1a9ef3b1.zip | |
File 'lib2-v2.so' generated from its own source
Instead of being a copy of 'lib2.so', 'lib2-v2.so' has its own source
file ('lib22.c'), so that the test can distinguish both libraries.
Diffstat (limited to 'testes/attrib.lua')
| -rw-r--r-- | testes/attrib.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testes/attrib.lua b/testes/attrib.lua index 4adb42e0..b1a4a199 100644 --- a/testes/attrib.lua +++ b/testes/attrib.lua | |||
| @@ -275,7 +275,7 @@ else | |||
| 275 | -- check correct access to global environment and correct | 275 | -- check correct access to global environment and correct |
| 276 | -- parameters | 276 | -- parameters |
| 277 | assert(_ENV.x == "lib2-v2" and _ENV.y == DC"lib2-v2") | 277 | assert(_ENV.x == "lib2-v2" and _ENV.y == DC"lib2-v2") |
| 278 | assert(lib2.id("x") == "x") | 278 | assert(lib2.id("x") == true) -- a different "id" implementation |
| 279 | 279 | ||
| 280 | -- test C submodules | 280 | -- test C submodules |
| 281 | local fs, ext = require"lib1.sub" | 281 | local fs, ext = require"lib1.sub" |
