equal
deleted
inserted
replaced
260 > 'bar foo*' |
260 > 'bar foo*' |
261 > 'bar foo+' |
261 > 'bar foo+' |
262 > 'bar foo-' |
262 > 'bar foo-' |
263 > 'bar') |
263 > 'bar') |
264 > EOF |
264 > EOF |
|
265 |
|
266 'missing _() in ui message' detection |
|
267 |
|
268 $ cat > uigettext.py <<EOF |
|
269 > ui.status("% 10s %05d % -3.2f %*s %%" |
|
270 > # this use '\\\\' instead of '\\', because the latter in |
|
271 > # heredoc on shell becomes just '\' |
|
272 > '\\\\ \n \t \0' |
|
273 > """12345 |
|
274 > """ |
|
275 > '''.:*+-= |
|
276 > ''' "%-6d \n 123456 .:*+-= foobar") |
|
277 > EOF |
|
278 |
265 $ "$check_code" stringjoin.py |
279 $ "$check_code" stringjoin.py |
266 stringjoin.py:1: |
280 stringjoin.py:1: |
267 > foo = (' foo' |
281 > foo = (' foo' |
268 string join across lines with no space |
282 string join across lines with no space |
269 stringjoin.py:2: |
283 stringjoin.py:2: |
286 string join across lines with no space |
300 string join across lines with no space |
287 stringjoin.py:8: |
301 stringjoin.py:8: |
288 > 'bar foo-' |
302 > 'bar foo-' |
289 string join across lines with no space |
303 string join across lines with no space |
290 [1] |
304 [1] |
|
305 |
|
306 $ "$check_code" uigettext.py |
|
307 uigettext.py:1: |
|
308 > ui.status("% 10s %05d % -3.2f %*s %%" |
|
309 missing _() in ui message (use () to hide false-positives) |
|
310 [1] |