Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Broken under ruby 2.1? #32

@tom-pang

Description

@tom-pang

There's one super hard to figure out test failure under 2.1:

# Running tests:

[11/18] DumperTest#test_writing_to_io = 0.00 s
  1) Failure:
DumperTest#test_writing_to_io [/Users/tcrayford/Downloads/src/replicate/test/dumper_test.rb:53]:
<"\x04\b[\bI\"\x16Replicate::Object\x06:\x06ETi\x16{\bI\"\vnumber\x06;\x00Ti\x01{I\"\vstring\x06;\x00TI\"\nhello\x06;\x00TI\"\ttime\x06;\x00TIu:\tTime\r\x92\x83\x1C\x80Ic\xF09\a:\voffseti\x00:\tzoneI\"\bGMT\x06;\x00T"> expected but was
<"\x04\b[\bI\"\x16Replicate::Object\x06:\x06EFi\x16{\bI\"\vnumber\x06;\x00Ti\x01{I\"\vstring\x06;\x00TI\"\nhello\x06;\x00TI\"\ttime\x06;\x00TIu:\tTime\r\x92\x83\x1C\x80Ic\xF09\a:\voffseti\x00:\tzoneI\"\bGMT\x06;\x00T">.

Looks like our development dumping on our rails app doesn't work at all either.

I've scratched my head a bunch, and dug into the code some but I can't figure out what's causing the difference (the diff is that one has 06ET, the other 06EF)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions