Fix for prepare_lua_environment

This commit is contained in:
Sergey Lyubka committed 2013-05-19 01:25:10 +01:00
1 parent f4862b646d
commit 6e59ad8a0d
3 files changed
+10 -5

No files matched your search

+1 -1
View File
@@ -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
View File
@@ -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");