session_test.go 198 B

12345678910111213141516
  1. package login
  2. import "testing"
  3. func TestSession(t *testing.T) {
  4. type testFunc func() error
  5. var tf testFunc = func() error {
  6. return nil
  7. }
  8. if tf == nil {
  9. t.Error(nil)
  10. return
  11. }
  12. return
  13. }