-
Notifications
You must be signed in to change notification settings - Fork 610
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests for unions derived from abstract unions
Summary: ... and remove unnecessary tests to reduce verbosity. # Rationale {D66151439} above this one changes the implementation of unions in the presence of abstract types and there were no tests that would catch regression. Introduce the test first to ensure it works correctly with the current implementation. It will then serve as the safety net when D66151439 makes its change. # Action Items Generate fixtures with ``` buck2 run fbcode//thrift/compiler/test:build_fixtures ``` Reviewed By: ahilger Differential Revision: D66214545 fbshipit-source-id: f58ce5811bfc708c774e97021f10ff8b26026350
- Loading branch information
1 parent
bedb9d2
commit f14fac9
Showing
1 changed file
with
34 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters