(t *testing.T)
| 74 | } |
| 75 | |
| 76 | func TestGenerateSessionID(t *testing.T) { |
| 77 | id1 := shared.GenerateSessionID() |
| 78 | id2 := shared.GenerateSessionID() |
| 79 | |
| 80 | if id1 == id2 { |
| 81 | t.Error("Expected different session IDs") |
| 82 | } |
| 83 | |
| 84 | if len(id1) == 0 { |
| 85 | t.Error("Expected non-empty session ID") |
| 86 | } |
| 87 | } |
nothing calls this directly
no test coverage detected