This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 144583 - .RubyFormatterTest#testFormatDate test fails since rubytests #586
Summary: .RubyFormatterTest#testFormatDate test fails since rubytests #586
Status: CLOSED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Editing (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Torbjorn Norbye
URL: http://deadlock.netbeans.org/hudson/j...
Keywords: REGRESSION, TEST
Depends on:
Blocks:
 
Reported: 2008-08-20 13:36 UTC by Martin Krauskopf
Modified: 2008-08-25 10:04 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Krauskopf 2008-08-20 13:36:21 UTC
Seems it is caused by Vita's (CCing) commits, since he was the only one who commited into that build:

  http://deadlock.netbeans.org/hudson/job/rubytests/586/changes

It is the only failing test in whole rubytests build:

  http://deadlock.netbeans.org/hudson/job/rubytests/586/testReport/

So would be great if it can be fixed or at least disabled, to get blue again ;)
Comment 1 Vitezslav Stejskal 2008-08-20 15:49:14 UTC
I can see that some of the tabs are replaced with spaces after reformatting the document, but I am not sure why. I'll
keep investigating this.
Comment 2 Vitezslav Stejskal 2008-08-20 16:57:30 UTC
What happened was that I added tab-size=2 in preferences.xml for text/x-ruby. So before it was tab-size=8 and now it is
tab-size=2, which obviously makes difference in the formatting. IMO tab-size=2 makes sense for ruby and thus we should
adjust the test.
Comment 3 Torbjorn Norbye 2008-08-24 03:46:35 UTC
I updated the golden file yesterday, this should be fixed now. Thanks for investigating Vita.
Comment 4 Martin Krauskopf 2008-08-25 10:04:23 UTC
Yes, we are 'blue' again ;). Thanks.
v/c