Add some tests for ExportManager::formatFilename
ClosedPublic

Authored by davidre on Mar 22 2019, 11:29 AM.

Details

Summary

This adds some tests for formatFilename to ensure that by for example changing placeholders or working on the parsing logic we don't break anything.

Test Plan

Run the tests.

Diff Detail

Repository
R166 Spectacle
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
davidre created this revision.Mar 22 2019, 11:29 AM
Restricted Application added a project: Spectacle. · View Herald TranscriptMar 22 2019, 11:29 AM
Restricted Application added a subscriber: Spectacle. · View Herald Transcript
davidre requested review of this revision.Mar 22 2019, 11:29 AM
davidre updated this revision to Diff 54635.Mar 23 2019, 7:44 PM
  • Add some more test cases
ngraham accepted this revision.Mar 24 2019, 4:07 PM
ngraham added a subscriber: ngraham.

Very nice.

This revision is now accepted and ready to land.Mar 24 2019, 4:07 PM
This revision was automatically updated to reflect the committed changes.