From 53756c3ef985f8b24346d829c673156861066871 Mon Sep 17 00:00:00 2001 From: Hank Shen Date: Wed, 6 Dec 2023 12:34:46 +0800 Subject: update --- litecodec_test.go | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 litecodec_test.go (limited to 'litecodec_test.go') 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) - } -} -- cgit v1.2.3