You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
testCase._error(
'Callback ${id}called ($actualCalls) after test case ''${testCase.description} has already been marked as ''${testCase.result}.$reason');
is formatted as so:
testCase._error('Callback ${id}called ($actualCalls) after test case ''${testCase.description} has already been marked as ''${testCase.result}.$reason');
I like the heuristic of putting an argument on the opening line in general, but I think when it's a continued multiline string it's more important that each line be aligned.
The text was updated successfully, but these errors were encountered:
In #526, the proposed formatting would make the above example format as follows:
testCase._error(
'Callback ${id}called ($actualCalls) after test case ''${testCase.description} has already been marked as ''${testCase.result}.$reason'
);
...which makes it even clearer where the expression starts and ends.
testCase._error(
'Callback ${id}called ($actualCalls) after test case ''${testCase.description} has already been marked as ''${testCase.result}.$reason',
);
All of the strings are aligned, so I think this is done now.
Currently this:
is formatted as so:
I like the heuristic of putting an argument on the opening line in general, but I think when it's a continued multiline string it's more important that each line be aligned.
The text was updated successfully, but these errors were encountered: