Skip to content

Commit 40d60fc

Browse files
author
BirdeeHub
committed
docs(comments): remove old TODO comments
1 parent e1b111a commit 40d60fc

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

tests/decode_tests.lua

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,6 @@ key = "value" # This is an end-of-line comment
397397
it(data.key == "value", "Key-value pair with comments should be parsed correctly")
398398
end)
399399

400-
-- TODO: this finds an actual bug. keep this test, highest priority
401400
define("decode table array of tables with dotted keys", function()
402401
local toml_str = [=[
403402
[[fruit]]
@@ -459,7 +458,6 @@ key = 3
459458
it(err ~= nil, "should error on duplicate table array and then table")
460459
end)
461460

462-
-- TODO: errors on time only date type
463461
define("fancy_dates option: various date types", function()
464462
local toml_str = [[
465463
date_offset = 1979-05-27T07:32:00Z
@@ -760,7 +758,6 @@ bare_key = 1
760758
it(data.products[2].details.available == true, "Second product details available should be correct")
761759
end)
762760

763-
-- TODO: basically the same as the fruits test. Fix the array heading pickup
764761
define("decode table with array of arrays of tables", function()
765762
local toml_str = [=[
766763
[[groups]]
@@ -1021,7 +1018,6 @@ key1 = 1
10211018
it(eq(data.items[2].tags, {"tag1", "tag2"}), "Second item tags should be correct")
10221019
end)
10231020

1024-
-- TODO: same as the fruits thing
10251021
define("decode table with array of tables and nested array of tables", function()
10261022
local toml_str = [=[
10271023
[[companies]]
@@ -1505,7 +1501,6 @@ String'''
15051501
it(data.metrics[2].value == 10.5, "Second metric value should be float")
15061502
end)
15071503

1508-
-- TODO: fix this weird extra space thing
15091504
define("date/time values in array headings with fancy dates", function()
15101505
local toml_str = [=[
15111506
[[logs]] # Log entry 1
@@ -1523,7 +1518,6 @@ String'''
15231518
it(tostring(data.logs[2].timestamp) == "1979-05-27", "Second log timestamp should be correct")
15241519
end)
15251520

1526-
-- TODO: fix this error for invalid date type
15271521
define("date/time values in array headings without fancy dates", function()
15281522
local toml_str = [=[
15291523
[[logs]] # Log entry 1

0 commit comments

Comments
 (0)