natalie icon indicating copy to clipboard operation
natalie copied to clipboard

Write CSV specs

Open richardboehme opened this issue 2 years ago • 0 comments

Due to ruby/spec lacking specs for most of the CSV library, we want to provide our own specs (with the goal of upstreaming those to ruby/spec). Currently the following methods of CSV are implemented in Natalie and need specs:

  • [ ] initialize
  • [x] self.generate
  • [x] self.generate_line
  • [ ] self.open
  • [x] self.parse
  • [x] <<
  • [x] add_row
  • [x] col_sep
  • [ ] each
  • [ ] headers
  • [x] liberal_parsing?
  • [ ] lineno
  • [ ] parser
  • [ ] read
  • [ ] readline
  • [x] readlines
  • [ ] rewind
  • [x] row_sep
  • [ ] shift

richardboehme avatar Apr 15 '22 18:04 richardboehme