aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/superpowers/plans/2026-09-16-conky-lua-dashboard.md2
-rw-r--r--test/test_data.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/superpowers/plans/2026-09-16-conky-lua-dashboard.md b/docs/superpowers/plans/2026-09-16-conky-lua-dashboard.md
index 4289bb1..fee49b4 100644
--- a/docs/superpowers/plans/2026-09-16-conky-lua-dashboard.md
+++ b/docs/superpowers/plans/2026-09-16-conky-lua-dashboard.md
@@ -269,7 +269,7 @@ CPU load is a delta between two readings, so it needs state. This is separate fr
Append to `test/test_data.lua`, before the final `print`:
```lua
--- cpu_percent is a delta between two samples, so it holds state.
+-- CPU load is a delta between two samples, so the counter holds state.
-- The first call has no previous sample and must report nil, not a number:
-- any number it invented would be wrong, and 100% on startup looks like a
-- real spike.
diff --git a/test/test_data.lua b/test/test_data.lua
index 44e9ab3..33551d1 100644
--- a/test/test_data.lua
+++ b/test/test_data.lua
@@ -36,7 +36,7 @@ assert(data.millidegrees(nil) == nil, 'nil input must give nil')
assert(data.millidegrees('') == nil, 'empty input must give nil')
assert(data.millidegrees('garbage') == nil, 'unparseable input must give nil')
--- cpu_percent is a delta between two samples, so it holds state.
+-- CPU load is a delta between two samples, so the counter holds state.
-- The first call has no previous sample and must report nil, not a number:
-- any number it invented would be wrong, and 100% on startup looks like a
-- real spike.