Skip to content

Commit 6c88335

Browse files
committed
add comment on why this test
1 parent ff48974 commit 6c88335

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/StreamTests.hs

+6
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,12 @@ readWriteConduit input = do
126126
Left x -> do
127127
throwIO x
128128

129+
-- No sst behaves differently frmo the normal writexlsx because
130+
-- the sst table isn't first constructed.
131+
-- this results in a single pass instead of a double pass.
132+
-- it turns out that in certain cases this test would pass
133+
-- but the writeXlsx wouldn't, which indicates brittleness within
134+
-- the statefull hexpat parser.
129135
readWriteConduitNoSst :: Xlsx -> IO ()
130136
readWriteConduitNoSst input = do
131137
BS.writeFile "testinput.xlsx" (toBs input)

0 commit comments

Comments
 (0)