[lldb] Fix that TestNoSuchArch.py was passing for the wrong reason
authorRaphael Isemann <teemperor@gmail.com>
Thu, 9 Jan 2020 11:09:44 +0000 (12:09 +0100)
committerRaphael Isemann <teemperor@gmail.com>
Thu, 9 Jan 2020 11:09:48 +0000 (12:09 +0100)
commit782ad91cc423bf602718e2bf9ffc59e55350463f
tree12e4d6d49ab5f9a3c3e8584ff11fa9c1826aca82
parentccf24225e3f2356ebf0e73bb114a831bf1721222
[lldb] Fix that TestNoSuchArch.py was passing for the wrong reason

The command here failed due to the type in 'create' but the expect
did not actually check for the error message. This fixes the typo
and adds a check for the actuall error message we should see.
lldb/packages/Python/lldbsuite/test/commands/target/create-no-such-arch/TestNoSuchArch.py