rdoc_test failing -- renders with inline layouts #270

Closed
cactus opened this Issue May 11, 2011 · 1 comment

Projects

None yet

2 participants

@cactus
cactus commented May 11, 2011

test output:

<"THIS. IS.<P>SPARTA</P>!"> expected but was
<"THIS. IS. <P>SPARTA</P>!">.

https://github.com/sinatra/sinatra/blob/master/test/rdoc_test.rb#L39

The layout string does not match the body result. It differs by a single space (the period-then-space after IS).
THIS.IS.[space]#{yield.upcase}! vs THIS.IS. <P>SPARTA</P>!

@rkh
Member
rkh commented May 11, 2011

Yes, right, there was some RDoc strangeness, that's why it's an assert_like. With latest RDoc, it fails for me, too (but CI is green), will fix this.

@rkh rkh added a commit that closed this issue May 11, 2011
@rkh rkh fix rdoc test, closes #270 5044802
@rkh rkh closed this in 5044802 May 11, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment