This repository has been archived by the owner on Nov 15, 2022. It is now read-only.
Clean up the tests in encoding_test.go
#69
Labels
encoding_test.go
#69
Right now the tests in this file are specified as fixtures in separate file as oppossed to table driven table where it is easy to map what input maps to the output, here since it is scattered around in files, and the data is assigned to variables which makes it hard on someone writing tests because now they have to spend time on naming unique variable name, which makes no sense.
So suggestion on cleaning it all up and moving to one file which has list of all the tests.
These tests were added in #37
Some more context in #37 (review)
The text was updated successfully, but these errors were encountered: