test_remove_value = function() local h = {1,2,3} table.remove_value(h, 1) check_eq(h, {2,3}, "a") local h = {1,2,3} table.remove_value(h, 2) check_eq(h, {1,3}, "b") local h = {1,2,3} table.remove_value(h, 3) check_eq(h, {1,2}, "b") local h = {1,2,3} table.remove_value(h, 4) check_eq(h, {1,2,3}, "b") end