diff options
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/commands/target/create-no-such-arch/TestNoSuchArch.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/commands/target/create-no-such-arch/TestNoSuchArch.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/commands/target/create-no-such-arch/TestNoSuchArch.py b/lldb/packages/Python/lldbsuite/test/commands/target/create-no-such-arch/TestNoSuchArch.py index a780ca27566..4d7f0838f87 100644 --- a/lldb/packages/Python/lldbsuite/test/commands/target/create-no-such-arch/TestNoSuchArch.py +++ b/lldb/packages/Python/lldbsuite/test/commands/target/create-no-such-arch/TestNoSuchArch.py @@ -19,8 +19,8 @@ class NoSuchArchTestCase(TestBase): # Check that passing an invalid arch via the command-line fails but # doesn't crash self.expect( - "target crete --arch nothingtoseehere %s" % - (exe), error=True) + "target create --arch nothingtoseehere %s" % + (exe), error=True, substrs=["error: invalid triple 'nothingtoseehere'"]) # Check that passing an invalid arch via the SB API fails but doesn't # crash |