Rebaseline server: use pretty text diff output
Created attachment 75540 [details] Patch
Comment on attachment 75540 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=75540&action=review > WebKitTools/Scripts/webkitpy/tool/commands/rebaselineserver.py:177 > + elif mode == 'diff-text-pretty': > + file_name = test_name + '-pretty-diff.html' I normally use dictionaries for stuff like this. E.g.: suffix = { 'expected-text': '-expected.txt', 'actual-text': '-actual.txt', ... }[mode] file_name = test_name + suffix But I don't feel strongly about it and this case is a bit awkward because it's a suffix.
Committed r73320: <http://trac.webkit.org/changeset/73320>