Skip to content

Commit b4a4e2c

Browse files
authored
Fix order-dependent ASTextNodeTests (#1963)
1 parent 6e629bd commit b4a4e2c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Tests/ASTextNodeTests.mm

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ @implementation ASTextNodeTests
6161
- (void)setUp
6262
{
6363
[super setUp];
64+
65+
// Reset experimental features to test the first version of ASTextNode.
66+
ASConfiguration *config = [ASConfiguration new];
67+
config.experimentalFeatures = kNilOptions;
68+
[ASConfigurationManager test_resetWithConfiguration:config];
69+
6470
_textNode = [[ASTextNode alloc] init];
6571
_textNodeBucket = [[NSMutableArray alloc] init];
6672

0 commit comments

Comments
 (0)