Skip to content

Conversation

@pchiusano
Copy link
Member

@pchiusano pchiusano commented Sep 7, 2021

Work with @runarorama. This PR makes a tweak to how the transcript parser works so that the load command can pick up what was dumped to the scratch file via the edit command. Specifically, it clears the transcript file cache after each ucm stanza.

This is a bit hacky, but we thought fine for now--and it turns out no existing transcripts were relying on the transcript file cache sticking around across multiple ucm stanzas.

It also adds a transcript demonstrating how new round-trip tests can be added easily.

@pchiusano pchiusano requested a review from runarorama September 7, 2021 19:02
@runarorama runarorama added the ready-to-merge Apply this to a PR and it will get merged automatically once CI passes and 1 reviewer has approved label Sep 7, 2021
It now runs the test but doesn't care if the output has changed
@mergify mergify bot removed the ready-to-merge Apply this to a PR and it will get merged automatically once CI passes and 1 reviewer has approved label Sep 7, 2021
@pchiusano pchiusano merged commit 3fbf057 into trunk Sep 7, 2021
@pchiusano pchiusano deleted the fix/roundtrip-testing branch September 7, 2021 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants