add test for formatting commands
This commit is contained in:
parent
77b6947eda
commit
1de8202040
|
@ -0,0 +1,5 @@
|
|||
Nor
|
||||
\uUnderline\u\u
|
||||
\bBold\b
|
||||
\k\k\k\k\k\k mal
|
||||
\j\j\j\j
|
|
@ -47,7 +47,7 @@ def main():
|
|||
lines=[x.rstrip() for x in lines] # remove whitespaces and linebreaks
|
||||
|
||||
for iline,line in enumerate(lines):
|
||||
if not set(line).issubset(chars):
|
||||
if not set(line).issubset(chars+'\\'):
|
||||
print(str(iline)+":"+str(line))
|
||||
print("Contains non printable characters")
|
||||
exit()
|
||||
|
|
Loading…
Reference in New Issue