aboutsummaryrefslogtreecommitdiff
path: root/internal/game/condition_test.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-07-09 19:29:17 -0400
committerhistoria <[not public]>2026-07-09 19:29:17 -0400
commitb3d4c616f59ad2519f3a0b77e3b47d6571cd2486 (patch)
tree6f1f6a314e0550da68264a79381fc269db803312 /internal/game/condition_test.go
parent18c7af94b30c2767b6633d050324c1db34074ce2 (diff)
downloadthehouseoficarus-b3d4c616f59ad2519f3a0b77e3b47d6571cd2486.tar.gz
feat: message actions are now sequences of messages with settable delays
Diffstat (limited to 'internal/game/condition_test.go')
-rw-r--r--internal/game/condition_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/game/condition_test.go b/internal/game/condition_test.go
index f7a5dc6..59b0895 100644
--- a/internal/game/condition_test.go
+++ b/internal/game/condition_test.go
@@ -96,10 +96,10 @@ func TestCheckConditionGlobalFlag(t *testing.T) {
t.Error("global flag truthy check should pass")
}
if g.checkCondition(sess, &behavior.Condition{GlobalFlag: "gate_open", Not: true}) {
- t.Error("negated world flag should fail when set")
+ t.Error("negated global flag should fail when set")
}
if g.checkCondition(sess, &behavior.Condition{GlobalFlag: "missing"}) {
- t.Error("missing world flag should not pass")
+ t.Error("missing global flag should not pass")
}
}