Project

General

Profile

Actions

Bug #1327

closed

CSV unit test failures on windows

Added by cfis (Charlie Savage) about 12 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
ruby 1.9.2dev (2009-03-29) [i386-mswin32_90]
Backport:
[ruby-core:23060]

Description

=begin
Thought it might be easier to split the csv failures into a separate ticket (see #1326). After r23094, the number of failures has been reduced from 10 to 7.

Finished in 1.521000 seconds.

1) Error:
test_append(TestCSVInterface):
CSV::MalformedCSVError: Unquoted fields do not allow \r or \n (line 1).
C:/Development/src/ruby_trunk/test/csv/test_interface.rb:103:in block in test_shift'
C:/Development/src/ruby_trunk/test/csv/test_interface.rb:102:in
test_shift'
C:/Development/src/ruby_trunk/test/csv/test_interface.rb:252:in `test_append'

2) Error:
test_parse(TestCSVInterface):
CSV::MalformedCSVError: Unquoted fields do not allow \r or \n (line 1).
C:/Development/src/ruby_trunk/test/csv/test_interface.rb:58:in `test_parse'

3) Error:
test_shift(TestCSVInterface):
CSV::MalformedCSVError: Unquoted fields do not allow \r or \n (line 1).
C:/Development/src/ruby_trunk/test/csv/test_interface.rb:103:in block in test_shift'
C:/Development/src/ruby_trunk/test/csv/test_interface.rb:102:in
test_shift'

4) Error:
test_write_hash_with_headers_array(TestCSVInterface):
CSV::MalformedCSVError: Unquoted fields do not allow \r or \n (line 1).
C:/Development/src/ruby_trunk/test/csv/test_interface.rb:194:in block in test_write_hash_with_headers_array'
C:/Development/src/ruby_trunk/test/csv/test_interface.rb:192:in
test_write_hash_with_headers_array'

5) Error:
test_write_hash_with_headers_string(TestCSVInterface):
CSV::MalformedCSVError: Unquoted fields do not allow \r or \n (line 1).
C:/Development/src/ruby_trunk/test/csv/test_interface.rb:216:in block in test_write_hash_with_headers_string'
C:/Development/src/ruby_trunk/test/csv/test_interface.rb:213:in
test_write_hash_with_headers_string'

6) Error:
test_write_headers(TestCSVInterface):
CSV::MalformedCSVError: Unquoted fields do not allow \r or \n (line 1).
C:/Development/src/ruby_trunk/test/csv/test_interface.rb:241:in block in test_write_headers'
C:/Development/src/ruby_trunk/test/csv/test_interface.rb:238:in
test_write_headers'

7) Error:
test_io(TestSerialization):
CSV::MalformedCSVError: Unquoted fields do not allow \r or \n (line 1).
C:/Development/src/ruby_trunk/test/csv/test_serialization.rb:147:in `test_io'

134 tests, 1900 assertions, 0 failures, 7 errors, 0 skips
=end

Actions #1

Updated by cfis (Charlie Savage) about 12 years ago

=begin
Fixed by r23099. Can now be closed.
=end

Actions #2

Updated by cfis (Charlie Savage) about 12 years ago

=begin
Hi James,

On Mar 29, 2009, at 3:37 PM, Charlie Savage wrote:

Bug #1327: CSV unit test failures on windows

I guess this was harder than I thought.

I went back through with more care this time. Did I do any better?

Its now perfect - no failures. Thanks for the quick fixes!

Charlie

Attachment: smime.p7s
=end

Actions #3

Updated by JEG2 (James Gray) about 12 years ago

  • Status changed from Open to Closed
  • Assignee set to JEG2 (James Gray)

=begin

=end

Actions

Also available in: Atom PDF