Auto-Submit | +1 |
PTAL -- in a followup I'll try to make these tests register dynamically based on the golden files present.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Code-Review | +1 |
LGTM
// If it was not an escape sequence, emit the previous backslash
```suggestion
// If it was not an escape sequence, emit the previous backslash.
```
}
What if the last character was a backslash? Please either handle that case or add a DCHECK ensuring that doesn't happen.
// Skip to the beginning of the options header
```suggestion
// Skip to the beginning of the options header.
```
CHECK_GE(line.size(), 2u); // We should have the indent
```suggestion
CHECK_GE(line.size(), 2u); // We should have the indent.
```
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Commit-Queue | +2 |
Thanks
// If it was not an escape sequence, emit the previous backslash
```suggestion
// If it was not an escape sequence, emit the previous backslash.
```
Done
What if the last character was a backslash? Please either handle that case or add a DCHECK ensuring that doesn't happen.
Good call, added handling (emitting the backslash as-is, same as for "not an escape sequence" above).
// Skip to the beginning of the options header
```suggestion
// Skip to the beginning of the options header.
```
Done
CHECK_GE(line.size(), 2u); // We should have the indent
```suggestion
CHECK_GE(line.size(), 2u); // We should have the indent.
```
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[test] Make bytecode expectation tests read golden snippets
Make the golden file snippets the source of truth for bytecode
expectations tests, to remove the duplicated snippets between the
bytecode-generator-unittest and the golden files. This should make it
simpler to add new expectation tests, by adding a snippet to a golden
file and rebaselining. It also unifies the handling of the header
options, like wrapping and flags.
The expectations parsing logic is extracted to a new
`BytecodeExpectationsParser`, which is used by both the test and the
expectations generator.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |