Fix parser skipping over the whole file (#547)

* Add test for ReferenceFile/struct
* Stop skipping after table
* Add .gitattributes to force LF encoding
* Fix the reference file
This commit is contained in:
Thomas Pelletier
2021-05-30 18:53:07 -04:00
committed by GitHub
parent 840df4a229
commit 11f022ab09
6 changed files with 296 additions and 10 deletions
+2 -1
View File
@@ -2,4 +2,5 @@ module github.com/pelletier/go-toml/v2
go 1.15
require github.com/stretchr/testify v1.7.0
// latest (v1.7.0) doesn't have the fix for time.Time
require github.com/stretchr/testify v1.7.1-0.20210427113832-6241f9ab9942