From f0012df68653835752c32d47ebba06320c7e48cf Mon Sep 17 00:00:00 2001 From: InSync Date: Wed, 18 Dec 2024 22:39:55 +0700 Subject: [PATCH] Fix typos in `RUF043.py` (#15044) (Accidentally introduced in #14966.) --- crates/ruff_linter/resources/test/fixtures/ruff/RUF043.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/ruff_linter/resources/test/fixtures/ruff/RUF043.py b/crates/ruff_linter/resources/test/fixtures/ruff/RUF043.py index 6b7602ce62f7c..5ba9fd7cddf8d 100644 --- a/crates/ruff_linter/resources/test/fixtures/ruff/RUF043.py +++ b/crates/ruff_linter/resources/test/fixtures/ruff/RUF043.py @@ -78,8 +78,8 @@ def test_foo(): with pytest.raises(Tab, match="\\t"): ... with pytest.raises(VerticalTab, match="\\v"): ... with pytest.raises(HexEscape, match="\\xFF"): ... - with pytest.raises(_16BitUnicodeEscape, match="\\FFFF"): ... - with pytest.raises(_32BitUnicodeEscape, match="\\0010FFFF"): ... + with pytest.raises(_16BitUnicodeEscape, match="\\uFFFF"): ... + with pytest.raises(_32BitUnicodeEscape, match="\\U0010FFFF"): ... ## Escaped metasequences