I'm porting some rust tests to ruby and amazed to discover that after just replacing the `#[test] fn...() {...}` with `it "..." do...end` it runs
-
Show this thread
-
the tests don't pass, but they're syntactically valid ruby
2 replies 0 retweets 8 likesShow this thread -
-
so I'm doing this because when I ported xdelta to rust, my implementation had a load of bugs in it, so I assumed those must have been present in the ruby version I just ported the rust tests I wrote to ruby and they all pass, so
1 reply 1 retweet 3 likesShow this thread -
it was probably some edge cases with rust iterators I didn't understand, or equality or copying stuff? idk I've not done any rust for months :(
1 reply 0 retweets 0 likesShow this thread
Replying to @mountain_ghosts
Got links to the rust and Ruby impls of the file/fn with the bug? I could take a look to see if anything stands out as different
11:04 AM - 25 Oct 2019
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.