From b4a4e2c15065bb5a729a7b520909e79dc5d07ce9 Mon Sep 17 00:00:00 2001 From: Ted Janeczko Date: Wed, 17 Feb 2021 10:09:09 -0800 Subject: [PATCH] Fix order-dependent ASTextNodeTests (#1963) --- Tests/ASTextNodeTests.mm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Tests/ASTextNodeTests.mm b/Tests/ASTextNodeTests.mm index e01f2516..e0291b78 100644 --- a/Tests/ASTextNodeTests.mm +++ b/Tests/ASTextNodeTests.mm @@ -61,6 +61,12 @@ - (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];