test/eval_test.rb in byebug-1.0.2 vs test/eval_test.rb in byebug-1.0.3
- old
+ new
@@ -36,11 +36,9 @@
check_output_includes '6'
end
end
describe 'stack trace on error' do
- temporary_change_hash_value(Byebug::Command.settings, :stack_trace_on_error, false)
-
it 'must show a stack trace if showing trace on error is enabled' do
enter 'set notrace', 'eval 2 / 0'
debug_file 'eval'
check_output_includes 'ZeroDivisionError Exception: divided by 0'
check_output_doesnt_include /\S+:\d+:in `eval':divided by 0/