Skip to content

Commit 8cf9995

Browse files
authored
Merge pull request #7816 from bitjammer/reenable-threadsafe-caching-test
[Syntax] Reenable thread-safe caching test
2 parents 37081f4 + bc590e3 commit 8cf9995

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

unittests/Syntax/ThreadSafeCachingTests.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ class Pool {
8181
// - Only one thread inserts the realized child into the parent
8282
// - Both threads get the exact same child (by identity)
8383
TEST(ThreadSafeCachingTests, ReturnGetExpression) {
84-
#if 0
8584
auto ReturnKW = SyntaxFactory::makeReturnKeyword({}, Trivia::spaces(1));
8685
auto Minus = SyntaxFactory::makePrefixOpereator("-", {});
8786
auto One = SyntaxFactory::makeIntegerLiteralToken("1", {}, {});
@@ -104,6 +103,5 @@ TEST(ThreadSafeCachingTests, ReturnGetExpression) {
104103
ASSERT_EQ(FirstDataPointer, SecondDataPointer);
105104
ASSERT_EQ(FirstDataPointer, DataPointer);
106105
}
107-
#endif
108106
}
109107

0 commit comments

Comments
 (0)