diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2020-01-26 09:05:07 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2020-01-26 09:05:07 -0500 |
commit | a5cba20c1e3b0956737327ef9214fd2cbc221add (patch) | |
tree | fc19e2d97243449676fc5d2a5a6f57ad356010e6 /rrdformat/format_test.go |
initial commit
Diffstat (limited to 'rrdformat/format_test.go')
-rw-r--r-- | rrdformat/format_test.go | 14 |
1 files changed, 14 insertions, 0 deletions
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) +} |