On Aug 23, 2011, at 1:00 PM, Roger Pack wrote:
> This error message:
>
>
> it 'should' do
> proc { eval("a=")}.should raise_exception(/SyntaxError/)
> end
>
>
> expected Exception with message matching /SyntaxError/, got
> #<SyntaxError: (eval):1: syntax error, unexpected end-of-file>
>
> Is a bit confusing, since it appears from the error output that it
> *does* match /SyntaxError/
>
> Might be able to word it better or along those lines.
> Thanks!
> -roger-
Please report this to http://github.com/rspec/rspec-expectations/issues.
Cheers,
David
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users