From a5cba20c1e3b0956737327ef9214fd2cbc221add Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 26 Jan 2020 09:05:07 -0500 Subject: initial commit --- rrdformat/format_test.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 rrdformat/format_test.go (limited to 'rrdformat/format_test.go') diff --git a/rrdformat/format_test.go b/rrdformat/format_test.go new file mode 100644 index 0000000..e2c1aa0 --- /dev/null +++ b/rrdformat/format_test.go @@ -0,0 +1,14 @@ +package rrdformat + +import ( + "encoding/xml" + "testing" +) + +func TestXML(t *testing.T) { + out, err := xml.Marshal(&Header{ + Version: []byte("0003"), + PDPStep: 300, + }) + t.Log(string(out), err) +} -- cgit v1.2.3-2-g168b