Fix minor bugs in TestExprs and TestAliases to fix buildbot breakage
- 'run' alias no longer includes the '--' for positional arguments... does not seem like a real bug. - 2.234f is not a great number for the float tests (due to precision/printing issues) so use 0.5f instead llvm-svn: 190100
This commit is contained in:
parent
09cdb4385f
commit
d4905b0ef9
|
@ -51,9 +51,9 @@ class BasicExprCommandsTestCase(TestBase):
|
|||
patterns = ["\(unsigned long long\) \$.* = 2"])
|
||||
# (unsigned long long) $1 = 2
|
||||
|
||||
self.expect("expression 2.234f",
|
||||
patterns = ["\(float\) \$.* = 2\.234"])
|
||||
# (float) $2 = 2.234
|
||||
self.expect("expression 0.5f",
|
||||
patterns = ["\(float\) \$.* = 0\.5"])
|
||||
# (float) $2 = 0.5
|
||||
|
||||
self.expect("expression 2.234",
|
||||
patterns = ["\(double\) \$.* = 2\.234"])
|
||||
|
|
|
@ -109,10 +109,10 @@ class AliasTestCase(TestBase):
|
|||
|
||||
|
||||
self.expect ("help run",
|
||||
substrs = [ "'run' is an abbreviation for 'process launch -c /bin/sh --'" ])
|
||||
substrs = [ "'run' is an abbreviation for 'process launch -c /bin/sh'" ])
|
||||
|
||||
self.expect ("help -a run",
|
||||
substrs = [ "'run' is an abbreviation for 'process launch -c /bin/sh --'" ])
|
||||
substrs = [ "'run' is an abbreviation for 'process launch -c /bin/sh'" ])
|
||||
|
||||
self.expect ("help -a",
|
||||
substrs = [ 'run', 'process launch -c /bin/sh' ])
|
||||
|
|
Loading…
Reference in New Issue