File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -185,14 +185,12 @@ TEST_F(ValuePrintingTests, vFloat)
185
185
test (vFloat, " 2" );
186
186
}
187
187
188
- #if 0
189
188
TEST_F (ValuePrintingTests, vBlackhole)
190
189
{
191
190
Value vBlackhole;
192
191
vBlackhole.mkBlackhole ();
193
192
test (vBlackhole, " «potential infinite recursion»" );
194
193
}
195
- #endif
196
194
197
195
TEST_F (ValuePrintingTests, depthAttrs)
198
196
{
@@ -632,7 +630,6 @@ TEST_F(ValuePrintingTests, ansiColorsThunk)
632
630
});
633
631
}
634
632
635
- #if 0
636
633
TEST_F (ValuePrintingTests, ansiColorsBlackhole)
637
634
{
638
635
Value v;
@@ -644,7 +641,6 @@ TEST_F(ValuePrintingTests, ansiColorsBlackhole)
644
641
.ansiColors = true
645
642
});
646
643
}
647
- #endif
648
644
649
645
TEST_F (ValuePrintingTests, ansiColorsAttrsRepeated)
650
646
{
Original file line number Diff line number Diff line change @@ -478,6 +478,12 @@ public:
478
478
finishValue (tLambda, { .lambda = { .env = e, .fun = f } });
479
479
}
480
480
481
+ // / Only used for testing.
482
+ inline void mkBlackhole ()
483
+ {
484
+ internalType = tPending;
485
+ }
486
+
481
487
void mkPrimOp (PrimOp * p);
482
488
483
489
inline void mkPrimOpApp (Value * l, Value * r)
You can’t perform that action at this time.
0 commit comments