mirror of
https://github.com/tiennm99/styleguide.git
synced 2026-09-08 02:20:17 +00:00
Fix Issue 337
This commit is contained in:
@@ -321,6 +321,8 @@ class CpplintTest(CpplintTestBase):
|
||||
self.assertEquals(0, cpplint.GetLineWidth(''))
|
||||
self.assertEquals(10, cpplint.GetLineWidth(u'x' * 10))
|
||||
self.assertEquals(16, cpplint.GetLineWidth(u'都|道|府|県|支庁'))
|
||||
self.assertEquals(5 + 13 + 9, cpplint.GetLineWidth(
|
||||
u'd𝐱/dt' + u'f : t ⨯ 𝐱 → ℝ' + u't ⨯ 𝐱 → ℝ'))
|
||||
|
||||
def testGetTextInside(self):
|
||||
self.assertEquals('', cpplint._GetTextInside('fun()', r'fun\('))
|
||||
|
||||
Reference in New Issue
Block a user