Skip to content
Snippets Groups Projects
Commit dc3e4159 authored by Jonah Husson's avatar Jonah Husson
Browse files

re-enable session smoke test

parent 2620fee2
No related branches found
No related tags found
No related merge requests found
package storage
import (
"bytes"
"os"
"testing"
"time"
)
// Smoke test for session object init/set/get methods
......@@ -16,7 +18,7 @@ func TestSession_Smoke(t *testing.T) {
t.Log(s)
t.Errorf("failed to init: %+v", err)
}
/*
ts, err := time.Now().MarshalText()
if err != nil {
t.Errorf("Failed to martial time for object")
......@@ -36,9 +38,9 @@ func TestSession_Smoke(t *testing.T) {
if o == nil {
t.Errorf("Got nil return from get")
}
t.Log(o)
if bytes.Compare(o.Data, []byte("test")) != 0 {
t.Errorf("Failed to get data")
}
*/
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment