Reformat example LayoutTestResults in rebaseline_unittest.
This CL just converts expressions of the form
LayoutTestResults.results_from_string("""ADD_RESULTS({
"tests": {...}
});"""
to expressions of the form:
data = LayoutTestResults({"tests": {...}})
The use of literal strings with ADD_RESULTS just makes the tests harder
to read without adding benefit.
This is related to http://crrev.com/2129323002, and the end purpose is
to make it easier to change the code and tests to enable
http://crrev.com/2118513002 to work.
Review-Url: https://codereview.chromium.org/2138913002
Cr-Commit-Position: refs/heads/master@{#404720}
1 file changed