natalie
natalie copied to clipboard
Write CSV specs
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