Skip to content

Commit

Permalink
Fix order-dependent ASTextNodeTests (#1963)
Browse files Browse the repository at this point in the history
  • Loading branch information
tjaneczko authored Feb 17, 2021
1 parent 6e629bd commit b4a4e2c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Tests/ASTextNodeTests.mm
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ @implementation ASTextNodeTests
- (void)setUp
{
[super setUp];

// Reset experimental features to test the first version of ASTextNode.
ASConfiguration *config = [ASConfiguration new];
config.experimentalFeatures = kNilOptions;
[ASConfigurationManager test_resetWithConfiguration:config];

_textNode = [[ASTextNode alloc] init];
_textNodeBucket = [[NSMutableArray alloc] init];

Expand Down

0 comments on commit b4a4e2c

Please sign in to comment.