(lines, entries)
| 105 | |
| 106 | |
| 107 | def append_dictionary_file_examples(lines, entries): |
| 108 | if entries is None: |
| 109 | return |
| 110 | for key in sorted(entries)[:MAX_EXAMPLES]: |
| 111 | lines.append(f" - `{key}` -> `{entries[key]}`") |
| 112 | if len(entries) > MAX_EXAMPLES: |
| 113 | lines.append(f" - ... {len(entries) - MAX_EXAMPLES} more") |
| 114 | |
| 115 | |
| 116 | def append_text_diff(lines, name, before_text, after_text): |
no test coverage detected