tests/data: comments: specs only

This commit is contained in:
4DBug committed 2026-11-01 01:51:09 -05:00
1 parent 653ce4e002
commit 7672980c65
12 files changed
+16 -63

No files matched your search

+1 -4
View File
@@ -1,6 +1,4 @@
-- data/csv tests: tables written by Python's csv.writer / DictWriter (every delimiter, quotes, line breaks inside
-- fields, empty fields) read back as csv.reader does, re-encoded byte for byte, keyed rows with a header, options,
-- error codes, and the fuzz pass. Fixtures: tools/fixtures/csv.py.
-- data/csv tests against Python's csv module (tools/fixtures/csv.py).
local T = require("@tests/T")
local F = require("@rosetta")
local Csv = require("@rosetta/data/csv")
@@ -41,7 +39,6 @@ for i, c in Fx do
end
end
-- details
do
t:eq(Canon.of(dec("a,b\n\n1,2\r\n3,4\r5,6")), Canon.of({ { "a", "b" }, { "1", "2" }, { "3", "4" }, { "5", "6" } }), "line ends, blank lines")
t:eq(Canon.of(dec('"a""b",c"d,"e"x')), Canon.of({ { 'a"b', 'c"d', "ex" } }), "lenient quotes like Python")