summaryrefslogtreecommitdiff
path: root/litecodec_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'litecodec_test.go')
-rw-r--r--litecodec_test.go20
1 files changed, 0 insertions, 20 deletions
diff --git a/litecodec_test.go b/litecodec_test.go
deleted file mode 100644
index 875ee7c..0000000
--- a/litecodec_test.go
+++ /dev/null
@@ -1,20 +0,0 @@
-package securecookie
-
-import "testing"
-
-func TestLiteCodec(t *testing.T) {
- c := NewLiteCodec()
- str := `TestLiteCodec`
- encoded, err := c.Encode(`name`, str)
- if err != nil {
- t.Error(err)
- }
- var decoded string
- err = c.Decode(`name`, encoded, &decoded)
- if err != nil {
- t.Error(err)
- }
- if decoded != str {
- t.Fatalf("expected %s, got: %#v", str, decoded)
- }
-}