J
Joe Van Dyk
Hi,
I'm testing the equality of two rather large strings. They look the
same to me, but doing
assert_equal "big ass long string", "big ass long string"
says that they're different. And they look very similar to me. I
know that they're different though, as doing "big ass long string".sum
gives a different checksum than the other one.
Any ideas on how I can easily view the differences between two long strings=
?
I'm testing the equality of two rather large strings. They look the
same to me, but doing
assert_equal "big ass long string", "big ass long string"
says that they're different. And they look very similar to me. I
know that they're different though, as doing "big ass long string".sum
gives a different checksum than the other one.
Any ideas on how I can easily view the differences between two long strings=
?