Skip to content

Commit 96d894b

Browse files
committed
fix character class for path sep
1 parent cb2d2a6 commit 96d894b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/test/API/commands/settings/TestSettings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1071,7 +1071,7 @@ def test_settings_show_defaults(self):
10711071
self.runCmd("settings set target.exec-search-paths /tmp")
10721072
self.expect(
10731073
"settings show --defaults target.exec-search-paths",
1074-
patterns=[r"\(default: empty\)", r"\[0\]: [/\]tmp"],
1074+
patterns=[r"\(default: empty\)", r"\[0\]: [/\\]tmp"],
10751075
)
10761076
# path map
10771077
self.expect(
@@ -1082,7 +1082,7 @@ def test_settings_show_defaults(self):
10821082
self.runCmd("settings set target.source-map /abc /tmp")
10831083
self.expect(
10841084
"settings show --defaults target.source-map",
1085-
patterns=[r"\(default: empty\)", r'\[0\] "[/\]abc" -> "[/\]tmp"'],
1085+
patterns=[r"\(default: empty\)", r'\[0\] "[/\\]abc" -> "[/\\]tmp"'],
10861086
)
10871087

10881088
def get_setting_json(self, setting_path=None):

0 commit comments

Comments
 (0)