-
Initial unit testing + major bugfix (0.6.0) · 8d6cba31Serbaf authored
First test cases and tests implemented in a new directory specific for testing. While working at it a tremendous bug was discovered: the splitting operation wasn't performing as expected for some JSON objects. However, the error was silent and didn't take place in the first tweets of the collection, reason why it passed unadvertedly for a long time. This error had to do with strings including braces, which had to be ignored as they are not really part of the JSON structure. After that fix, another bug appeared related to the escape character '\', which in some files provoked an error when it appeared before a double quote. The new algorithm manages properly escape characters and quotes and splits the full 200MB collection correctly.
8d6cba31
×