aboutsummaryrefslogtreecommitdiff
path: root/persistence/sessions_test.go
diff options
context:
space:
mode:
authorBohdan Horbeshko <bodqhrohro@gmail.com>2023-01-16 04:35:13 +0300
committerBohdan Horbeshko <bodqhrohro@gmail.com>2023-01-16 04:35:13 +0300
commitb3b53b6145c4b8e31d134942507c3ce0226182a4 (patch)
tree4f0753727317859504c26dd5bd4f338991db9082 /persistence/sessions_test.go
parent68e3581724f04366c114f267b3264075bc635061 (diff)
OOB
Diffstat (limited to 'persistence/sessions_test.go')
-rw-r--r--persistence/sessions_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/persistence/sessions_test.go b/persistence/sessions_test.go
index 76f71f9..c8e3077 100644
--- a/persistence/sessions_test.go
+++ b/persistence/sessions_test.go
@@ -47,6 +47,7 @@ func TestSessionToMap(t *testing.T) {
session := Session{
Timezone: "klsf",
RawMessages: true,
+ OOBMode: true,
}
m := session.ToMap()
sample := map[string]string{
@@ -54,6 +55,7 @@ func TestSessionToMap(t *testing.T) {
"keeponline": "false",
"rawmessages": "true",
"asciiarrows": "false",
+ "oobmode": "true",
}
if !reflect.DeepEqual(m, sample) {
t.Errorf("Map does not match the sample: %v", m)