Skip to content

Commit eed1adc

Browse files
authored
Merge pull request #7 from everwise/bug/avoid-stack-overflow-test
add comment as to why test is commented out
2 parents 9afd685 + da11871 commit eed1adc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spec/conflisp/evaluator_spec.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
expect(evaluator.resolve(['add', ['add', 1, 2], 3])).to eq(6)
2121
end
2222

23+
# The Evaluator#resolve method is susceptible to stack overflows.
24+
# The test below uncovers that.
25+
#
2326
# it 'can evaluate nested expressions of arbitrary depth' do
2427
# expression = ['add', 0, 1]
2528
# 3843.times do

0 commit comments

Comments
 (0)