[lldb] Tighten checks in TestStats.py

Just adding trailing newlines that "...: 1" doesn't match "...: 10".
This commit is contained in:
Raphael Isemann 2020-03-17 14:11:35 +01:00
parent ad357c1523
commit f95541839c
1 changed files with 4 additions and 4 deletions

View File

@ -18,8 +18,8 @@ class TestCase(TestBase):
self.expect("statistics enable", substrs=['already enabled'], error=True)
self.expect("expr patatino", substrs=['27'])
self.expect("statistics disable")
self.expect("statistics dump", substrs=['expr evaluation successes : 1',
'expr evaluation failures : 0'])
self.expect("statistics dump", substrs=['expr evaluation successes : 1\n',
'expr evaluation failures : 0\n'])
# 'frame var' with disabled statistics shouldn't change stats.
self.expect("frame var", substrs=['27'])
@ -28,5 +28,5 @@ class TestCase(TestBase):
# 'frame var' with enabled statistics will change stats.
self.expect("frame var", substrs=['27'])
self.expect("statistics disable")
self.expect("statistics dump", substrs=['frame var successes : 1',
'frame var failures : 0'])
self.expect("statistics dump", substrs=['frame var successes : 1\n',
'frame var failures : 0\n'])