fix: Fixed typo in pytest output expectation

This commit is contained in:
Adam Múdry
2026-01-07 03:42:01 +01:00
parent d7c8dd166b
commit 712c02e03c
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -65,6 +65,7 @@ examples/storage/perf_benchmark:
examples/storage/sd_card/sdmmc:
depends_components:
- fatfs
- vfs
- sdmmc
- esp_driver_sdmmc
@@ -77,6 +78,7 @@ examples/storage/sd_card/sdmmc:
examples/storage/sd_card/sdspi:
depends_components:
- fatfs
- vfs
- sdmmc
- esp_driver_sdspi
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD
# SPDX-FileCopyrightText: 2022-2026 Espressif Systems (Shanghai) CO LTD
# SPDX-License-Identifier: Unlicense OR CC0-1.0
import logging
import re
@@ -32,7 +32,7 @@ def test_examples_sd_card_sdmmc(dut: Dut) -> None:
'Reading file /sdcard/foo.txt',
f"Read from file: 'Hello {name}!'",
)
sd_card_format = re.compile(str.encode('Formatting card, allocation unit size=\\S+'))
sd_card_format = re.compile(str.encode('formatting drive, allocation unit size=\\S+'))
message_list2 = (
"file doesn't exist, formatting done",
'Opening file /sdcard/nihao.txt',