1
0
mirror of https://github.com/golang/go synced 2024-11-18 02:14:45 -07:00
go/txtar
Arda Güçlü 17847a8424 txtar/archive: add unit test function for Format
Unit test function TestFormat is added for Format in archive package. Moreover, Test method is renamed to TestParse, because it only tests Parse function.

Change-Id: Ibd94fa7ada456ffcbcf1d02eb3a6c3beba5ba84d
Reviewed-on: https://go-review.googlesource.com/c/tools/+/208177
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-11-20 20:49:00 +00:00
..
archive_test.go txtar/archive: add unit test function for Format 2019-11-20 20:49:00 +00:00
archive.go