Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
This paste will be private.
#>bin/mspec -X /tmp -t /opt/ruby1.8-stable/bin/ruby spec/ruby/1.8/core/io/ .................................................................................................... .................................................................................................... .................E.....E.................................. 1) IO#sysread on a file flushes write buffer when called immediately after a buffered IO#write ERROR Expected "01234" to equal "56789": ./mspec/expectations.rb:10:in `fail_with' ./mspec/matchers/base.rb:15:in `==' ./spec/ruby/1.8/core/io//sysread_spec.rb:72 ./mspec/runner/mspec.rb:102:in `call' ./mspec/runner/mspec.rb:102:in `protect' ./mspec/runner/state.rb:45:in `protect' ./mspec/runner/state.rb:45:in `each' ./mspec/runner/state.rb:45:in `protect' ./mspec/runner/state.rb:58:in `process' ./mspec/runner/state.rb:54:in `each' ./mspec/runner/state.rb:54:in `process' ./mspec/runner/mspec.rb:10:in `describe' ./mspec/runner/object.rb:11:in `describe' ./spec/ruby/1.8/core/io//sysread_spec.rb:4 ./mspec/runner/mspec.rb:27:in `load' ./mspec/runner/mspec.rb:27:in `files' ./mspec/runner/mspec.rb:102:in `call' ./mspec/runner/mspec.rb:102:in `protect' ./mspec/runner/mspec.rb:27:in `files' ./mspec/runner/mspec.rb:24:in `each' ./mspec/runner/mspec.rb:24:in `files' ./mspec/runner/mspec.rb:17:in `process' mspec/bin/mspec-run:35 2) IO#sysseek on a file moves the read position relative to the end with SEEK_END ERROR Expected 0 to equal 134: ./mspec/expectations.rb:10:in `fail_with' ./mspec/matchers/base.rb:15:in `==' ./spec/ruby/1.8/core/io//sysseek_spec.rb:49 ./mspec/runner/mspec.rb:102:in `call' ./mspec/runner/mspec.rb:102:in `protect' ./mspec/runner/state.rb:45:in `protect' ./mspec/runner/state.rb:45:in `each' ./mspec/runner/state.rb:45:in `protect' ./mspec/runner/state.rb:58:in `process' ./mspec/runner/state.rb:54:in `each' ./mspec/runner/state.rb:54:in `process' ./mspec/runner/mspec.rb:10:in `describe' ./mspec/runner/object.rb:11:in `describe' ./spec/ruby/1.8/core/io//sysseek_spec.rb:4 ./mspec/runner/mspec.rb:27:in `load' ./mspec/runner/mspec.rb:27:in `files' ./mspec/runner/mspec.rb:102:in `call' ./mspec/runner/mspec.rb:102:in `protect' ./mspec/runner/mspec.rb:27:in `files' ./mspec/runner/mspec.rb:24:in `each' ./mspec/runner/mspec.rb:24:in `files' ./mspec/runner/mspec.rb:17:in `process' mspec/bin/mspec-run:35 Finished in 0.542581 seconds 59 files, 258 examples, 538 expectations, 0 failures, 2 errors
From the Design Piracy series on my blog: