mirror of
https://github.com/php-win-ext/php-lua.git
synced 2026-03-24 00:52:12 +01:00
fixed test
This commit is contained in:
@@ -26,13 +26,13 @@ $l->registerCallback('create_object', [T::class, 'create']);
|
||||
|
||||
$l->eval(<<<CODE
|
||||
local t = create_object(2)
|
||||
table.sort( t, function( a, b ) return a > b end )
|
||||
for i,k in pairs(t) do
|
||||
print(i, " -> ", k, "\\n")
|
||||
print(i, " -> ", k, ",")
|
||||
end
|
||||
CODE
|
||||
);
|
||||
|
||||
?>
|
||||
--EXPECTF--
|
||||
v -> 2
|
||||
s -> string = 2
|
||||
v -> 2,s -> string = 2,
|
||||
Reference in New Issue
Block a user