session: merge harness.go into session.go
The Session struct is defined in session.go — named after what it is. No more 'harness' concept; that was an artifact of the interface+impl pattern we removed.
This commit is contained in:
parent
5db3eb5138
commit
d9920b42c7
1572
session/harness.go
1572
session/harness.go
File diff suppressed because it is too large
Load Diff
1567
session/session.go
1567
session/session.go
File diff suppressed because it is too large
Load Diff
|
|
@ -12,7 +12,7 @@ import (
|
||||||
olog "ollie/log"
|
olog "ollie/log"
|
||||||
)
|
)
|
||||||
|
|
||||||
// newTestCore returns a minimal harness for testing.
|
// newTestCore returns a minimal Session for testing.
|
||||||
func newTestCore(initialState string) *Session {
|
func newTestCore(initialState string) *Session {
|
||||||
a := &Session{
|
a := &Session{
|
||||||
id: "test",
|
id: "test",
|
||||||
|
|
|
||||||
Reference in New Issue