aboutsummaryrefslogtreecommitdiffstats
path: root/vsnprintf.c
diff options
context:
space:
mode:
authorBen <kanobt61@gmail.com>2019-12-27 13:17:02 -0500
committeraycabta <aycabta@gmail.com>2019-12-31 23:32:24 +0900
commita118bb805f022a915a4b075ddd9dd49c04e68591 (patch)
tree0a506d7423ad4042a4825fddc65c8f080d8f60d5 /vsnprintf.c
parent337ba56aff37d34896c0dd091f1bcfb4a556126b (diff)
downloadruby-a118bb805f022a915a4b075ddd9dd49c04e68591.tar.gz
[ruby/irb] Add tests for RubyLex
The set_auto_indent method calculates the correct number of spaces for indenting a line. We think there might be a few bugs in this method so we are testing the current functionality to make sure nothing breaks when we address those bugs. Example test failure: ``` 1) Failure: TestIRB::TestRubyLex#test_auto_indent [/Users/Ben/Projects/irb/test/irb/test_ruby_lex.rb:75]: Calculated the wrong number of spaces for: def each_top_level_statement initialize_input catch(:TERM_INPUT) do loop do begin prompt unless l = lex throw :TERM_INPUT if @line == '' else . <10> expected but was <12>. ``` https://github.com/ruby/irb/commit/752d5597ab
Diffstat (limited to 'vsnprintf.c')
0 files changed, 0 insertions, 0 deletions