mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-29 12:41:03 +00:00
Fix for prepare_lua_environment
This commit is contained in:
1 parent
f4862b646d
commit
6e59ad8a0d
3 files changed
+10
-5
No files matched your search
+1
-1
@@ -450,7 +450,7 @@ sub do_PUT_test {
|
||||
}
|
||||
|
||||
sub do_unit_test {
|
||||
my $target = on_windows() ? 'w' : 'u';
|
||||
my $target = on_windows() ? 'wi' : 'un';
|
||||
system("make $target") == 0 or fail("Unit test failed!");
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -463,7 +463,7 @@ static void test_lua(void) {
|
||||
&conn.request_info);
|
||||
conn.content_len = conn.data_len - conn.request_len;
|
||||
|
||||
prepare_lua_environment(&conn, L);
|
||||
mg_prepare_lua_environment(&conn, L);
|
||||
ASSERT(lua_gettop(L) == 0);
|
||||
|
||||
check_lua_expr(L, "'hi'", "hi");
|
||||
|
||||
Reference in new issue
Block a user