Home
last modified time | relevance | path

Searched refs:expected_content (Results 1 – 1 of 1) sorted by relevance

/external/chromium-trace/trace-viewer/third_party/Paste/paste/debug/
Dfsdiff.py175 expected_content = expected[orig_path]
178 if not comparison(actual_content, expected_content):
180 msg = differ(actual_content, expected_content)
182 if len(actual_content) < len(expected_content):
184 len(expected_content) - len(actual_content))
185 elif len(actual_content) > len(expected_content):
187 len(actual_content) - len(expected_content))
398 def show_diff(actual_content, expected_content): argument
401 expected_lines = [l.strip() for l in expected_content.splitlines()
406 return 'Empty; should have:\n'+expected_content