Project

General

Profile

ActionsLike0

Feature #1193

closed

Justified Error Messages

Added by bahuvrihi (Simon Chiang) about 16 years ago. Updated over 13 years ago.

Status:
Closed
Target version:
[ruby-core:22333]

Description

=begin
One nice thing about Test::Unit output is that failures are justified making string comparisons easier.

In Test::Unit

<"minitest/unit is a small and fast replacement for ruby's huge and slow test/unit."> expected but was
<"minitest/unit is a small and fast replaecment for ruby's huge and slow test/unit.">.

In MiniTest::Unit

Expected "minitest/unit is a small and fast replacement for ruby's huge and slow test/unit.", not
"minitest/unit is a small and fast replaecment for ruby's huge and slow test/unit.".

The error (replaecment) is harder to find when the output is not justified.

FYI I submitted this as a feature request to Ryan Davis on the Rubyforge site and he rejected the request. I am resubmitting it here because I feel it is quite important and trivial to implement.
=end

#2

Updated by zenspider (Ryan Davis) about 16 years ago

  • Priority changed from Normal to 3
#6

Updated by marcandre (Marc-Andre Lafortune) over 15 years ago

  • Category set to lib
  • Assignee set to zenspider (Ryan Davis)
#7

Updated by mame (Yusuke Endoh) about 15 years ago

  • Priority changed from 3 to Normal
#8

Updated by znz (Kazuhiro NISHIYAMA) about 15 years ago

  • Status changed from Open to Assigned
  • Target version set to 2.0.0

Updated by zenspider (Ryan Davis) over 13 years ago

  • Status changed from Assigned to Closed
ActionsLike0

Also available in: Atom PDF