I had passed all the test in redis challenge til sorted lists which i completed last week but now the tests which expected null bulk strings are now expecting null array ? Is this something thats been added ?
I think yes, now i just return null array instead of null bulk strings for BLPOP, BRPOP, XREAD commands. I think semantically it is more correct, because in non-empty case we return array, so in empty case we should also return array, but its null version
Yep, this is intended (i.e. we fixed a bug). Earlier the tester behavior was lax, it would accept either null arrays or null bulk strings. Our stage instructions also incorrectly mentioned null bulk strings in a bunch of places where it should’ve said null array.
We updated the instructions + changed the tester to be more strict, so you might see errors on stages you’ve already passed but this is intended!
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.