Brandon Casey <drafnel@xxxxxxxxx> writes: >> * after the line that contains "RIGHT" token, there should be one (and >> only one) line that contains "ChangeMe". The test modifies this >> token to "IWasChanged", compares the original with the modified >> result, and expects the "RIGHT" token above appears on the hunk >> header. > > Both good improvements. Let's not call "ChangeMe" a *token*, as I think the easiest example would look like the following and it would not use it as such. Rephrasing it as a "string" would be better. @@ ... @@ int RIGHT_function_hunk_header(void) int RIGHT_function_hunk_header(void) { - const char *msg = "ChangeME"; + const char *msg = "IWasChanged"; printf("Hello, world, %s\n", msg); return 0; } @@ ... -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html