aboutsummaryrefslogtreecommitdiff
path: root/ber/marshal_test.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-06-27 01:34:48 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-06-27 01:34:48 +0200
commit6b6c369b624b9ddccd9a23eed78e0340db99ad85 (patch)
treee29a0467e2321f6cbfb1994a6339d709839b3212 /ber/marshal_test.go
parent69bf3fb4d2017639d5b0b01c1a5ba6e2dd31274f (diff)
Add Marshal
Diffstat (limited to 'ber/marshal_test.go')
-rw-r--r--ber/marshal_test.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/ber/marshal_test.go b/ber/marshal_test.go
new file mode 100644
index 0000000..da568ed
--- /dev/null
+++ b/ber/marshal_test.go
@@ -0,0 +1,12 @@
+package ber
+
+import "testing"
+
+func TestMarschal(t *testing.T) {
+ i := 42
+ b, err := Marshal(i)
+ if err != nil {
+ t.Error(err)
+ }
+ t.Log(b)
+}