refactor: replace em dashes with hyphens in test files and docs

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
YeonGyu-Kim
2026-04-04 14:27:07 +09:00
parent 2d72f51a92
commit e860108b60
8 changed files with 42 additions and 42 deletions
@@ -173,7 +173,7 @@ describe("context-window-monitor modelContextLimitsCache", () => {
const output = createOutput()
await hook["tool.execute.after"]({ tool: "bash", sessionID, callID: "call_1" }, output)
// then 160K/500K = 32%, well below 70% threshold
// then - 160K/500K = 32%, well below 70% threshold
expect(output.output).toBe("original")
})
})
+1 -1
View File
@@ -400,7 +400,7 @@ describe("model fallback hook", () => {
//#when
await hook["chat.message"]?.({ sessionID }, output)
//#then model name should be transformed from hyphen to dot notation
//#then - model name should be transformed from hyphen to dot notation
expect(output.message["model"]).toEqual({
providerID: "github-copilot",
modelID: "claude-sonnet-4.6",
+2 -2
View File
@@ -601,7 +601,7 @@ describe("preemptive-compaction", () => {
})
const sessionID = "ses_kimi_limit"
// 180k total tokens above 78% of 200k (156k) but below 78% of 256k (204k)
// 180k total tokens - above 78% of 200k (156k) but below 78% of 256k (204k)
await hook.event({
event: {
type: "message.updated",
@@ -644,7 +644,7 @@ describe("preemptive-compaction", () => {
})
const sessionID = "ses_kimi_trigger"
// 210k total above 78% of 256k (≈204k)
// 210k total - above 78% of 256k (≈204k)
await hook.event({
event: {
type: "message.updated",
@@ -134,7 +134,7 @@ describe("extractStatusCode", () => {
})
test("skips non-numeric status and finds deeper numeric statusCode", () => {
//#given status is a string, but error.statusCode is numeric
//#given - status is a string, but error.statusCode is numeric
const error = {
status: "error",
error: { statusCode: 429 },