Skip to content

Commit fd83ef3

Browse files
author
Alan Christie
committed
Doc tweak
1 parent b7fe49c commit fd83ef3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

jote/jote.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,17 @@ def _check_exists(name: str, path: str, expected: bool) -> bool:
7676

7777
exists: bool = os.path.exists(path)
7878
if expected and not exists:
79+
print(f'# exists ({expected}) [FAILED]')
7980
print('! FAILURE')
8081
print(f'! Check exists "{name}" (does not exist)')
8182
return False
8283
elif not expected and exists:
84+
print(f'# exists ({expected}) [FAILED]')
8385
print('! FAILURE')
8486
print(f'! Check does not exist "{name}" (exists)')
8587
return False
8688

87-
print(f'# exists ({expected}) [ok]')
89+
print(f'# exists ({expected}) [OK]')
8890
return True
8991

9092

@@ -95,12 +97,13 @@ def _check_line_count(name: str, path: str, expected: int) -> bool:
9597
line_count += 1
9698

9799
if line_count != expected:
100+
print(f'# lineCount ({line_count}) [FAILED]')
98101
print('! FAILURE')
99102
print(f'! Check lineCount {name}'
100103
f' (found {line_count}, expected {expected})')
101104
return False
102105

103-
print(f'# lineCount ({line_count}) [ok]')
106+
print(f'# lineCount ({line_count}) [OK]')
104107
return True
105108

106109

0 commit comments

Comments
 (0)