Решение на Четвърта задача от Николина Гюрова
Обратно към всички решения
Към профила на Николина Гюрова
Резултати
- 4 точки от тестове
- 0 бонус точки
- 4 точки общо
- 7 успешни тест(а)
- 4 неуспешни тест(а)
Код
Лог от изпълнението
...F.F.F.F.
Failures:
1) Command Line Toolkit handles complex group nestings
Failure/Error: expect do
expected #<Proc:0xb9893ac8@/tmp/d20141126-26053-2ycpbj/spec.rb:56> to render as " 123\n 45\n 6\n 7\n"
# /tmp/d20141126-26053-2ycpbj/spec.rb:56:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
2) Command Line Toolkit handles borders correctly in complex group nestings
Failure/Error: expect do
expected #<Proc:0xb9889244@/tmp/d20141126-26053-2ycpbj/spec.rb:99> to render as " |||1||2|||3| |||\n || |||4|||5||||||\n || || ||6||||||\n ||7| |\n"
# /tmp/d20141126-26053-2ycpbj/spec.rb:99:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
3) Command Line Toolkit propagates upcase to child components
Failure/Error: expect do
expected #<Proc:0xb9863ef4@/tmp/d20141126-26053-2ycpbj/spec.rb:137> to render as " someveryINTERESTINGget it?\n TEXTGOES \n HERE \n"
# /tmp/d20141126-26053-2ycpbj/spec.rb:137:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
4) Command Line Toolkit propagates downcase to child components
Failure/Error: expect do
expected #<Proc:0xb9853054@/tmp/d20141126-26053-2ycpbj/spec.rb:172> to render as " SOMEVERYinterestingGET IT?\n textgoes \n here \n"
# /tmp/d20141126-26053-2ycpbj/spec.rb:172:in `block (2 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (3 levels) in <top (required)>'
# ./lib/language/ruby/run_with_timeout.rb:5:in `block (2 levels) in <top (required)>'
Finished in 0.02228 seconds
11 examples, 4 failures
Failed examples:
rspec /tmp/d20141126-26053-2ycpbj/spec.rb:55 # Command Line Toolkit handles complex group nestings
rspec /tmp/d20141126-26053-2ycpbj/spec.rb:98 # Command Line Toolkit handles borders correctly in complex group nestings
rspec /tmp/d20141126-26053-2ycpbj/spec.rb:136 # Command Line Toolkit propagates upcase to child components
rspec /tmp/d20141126-26053-2ycpbj/spec.rb:171 # Command Line Toolkit propagates downcase to child components
История (7 версии и 0 коментара)
Николина обнови решението на 24.11.2014 13:36 (преди около 10 години)
Николина обнови решението на 26.11.2014 10:43 (преди почти 10 години)
Николина обнови решението на 26.11.2014 10:55 (преди почти 10 години)
Николина обнови решението на 26.11.2014 11:24 (преди почти 10 години)
Николина обнови решението на 26.11.2014 11:28 (преди почти 10 години)
Николина обнови решението на 26.11.2014 11:32 (преди почти 10 години)
Николина обнови решението на 26.11.2014 11:52 (преди почти 10 години)