Skip to content

Commit 33a6590

Browse files
committed
[lldb] Fix TestSettings.py
1 parent 1d05d69 commit 33a6590

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1051,6 +1051,7 @@ def test_settings_show_defaults(self):
10511051
substrs=["(default: empty)", '[0]: "PATH"'],
10521052
)
10531053
# dictionaries
1054+
self.runCmd("settings clear target.env-vars")
10541055
self.expect(
10551056
"settings show --defaults target.env-vars",
10561057
matching=False,
@@ -1070,7 +1071,7 @@ def test_settings_show_defaults(self):
10701071
self.runCmd("settings set target.exec-search-paths /tmp")
10711072
self.expect(
10721073
"settings show --defaults target.exec-search-paths",
1073-
substrs=["(default: empty)", "[0]: /tmp"],
1074+
patterns=[r"\(default: empty\)", r"\[0\]: [/\]tmp"],
10741075
)
10751076
# path map
10761077
self.expect(

0 commit comments

Comments
 (0)