Skip to content

Instantly share code, notes, and snippets.

@Bluejade
Created February 12, 2010 05:21
Show Gist options
  • Save Bluejade/302328 to your computer and use it in GitHub Desktop.
Save Bluejade/302328 to your computer and use it in GitHub Desktop.
Dict from "should convert a Ruby hash to a PDF Dictionary when inside a content stream" spec:
Under 1.8.7 (failing):
<< /bang << /b [/you /say]
/a <77686174>
>>
/baz [1 2 3]
/foo /bar
>>
Under 1.9.1 (passing):
<< /foo /bar
/baz [1 2 3]
/bang << /a <77686174>
/b [/you /say]
>>
>>
Dict from "should convert a Ruby hash to a PDF Dictionary when outside a content stream" spec:
Under 1.8.7 (failing):
<< /bang << /b [/you /say]
/a <feff0077006800610074>
>>
/baz [1 2 3]
/foo /bar
>>
Under 1.9.1 (passing):
<< /foo /bar
/baz [1 2 3]
/bang << /a <feff0077006800610074>
/b [/you /say]
>>
>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment