fix(sensors): numeric parser anchors on degree symbol (label-digit bug) [#618]

This commit is contained in:
2026-09-01 18:22:52 -05:00
parent 6c8f839eaa
commit 133b68ab40
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ test_numeric_falls_back_internal() {
}
test_numeric_uses_first_line_value() {
if [[ "$(numeric_pick "" "" "+27.5°C")" == "27.5" ]]; then
if [[ "$(numeric_pick "" "" "temp1: +27.5°C (high = +84.0°C)")" == "27.5" ]]; then
echo "✅ numeric_pick parses first native temp"
else
echo "❌ numeric_pick native parse broken: got '$(numeric_pick "" "" "+27.5°C")'"