From d4e8b147694f35ac37c48dbfdd4b179c892beb01 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Thu, 2 Apr 2026 15:26:50 +0800 Subject: Lua 5.5 no longer put nil in array part of table. --- spec/inputs/test/in_expression_spec.yue | 5 ----- 1 file changed, 5 deletions(-) (limited to 'spec/inputs') diff --git a/spec/inputs/test/in_expression_spec.yue b/spec/inputs/test/in_expression_spec.yue index d9e3aec..840bdc4 100644 --- a/spec/inputs/test/in_expression_spec.yue +++ b/spec/inputs/test/in_expression_spec.yue @@ -72,11 +72,6 @@ describe "in expression", -> assert.is_true 2 in get_items! assert.is_false 5 in get_items! - it "should handle nil in table", -> - items = {1, nil, 3} - assert.is_true nil in items - assert.is_true 1 in items - it "should work with string keys", -> obj = ["name", "value"] assert.is_true "name" in obj -- cgit v1.2.3-55-g6feb