• Kirill Smelkov's avatar
    tests: Allow to specify several pickles for one test case · 93075d82
    Kirill Smelkov authored
    For now all decoding all those pickles is tested to give the same
    object, as in e.g.
    
    	"(I1\nI2\ntp0\n.", // MARK + TUPLE + INT
    
    and
    
    	"I1\nI2\n\x86."),  // TUPLE2 + INT
    
    But having a way to specify several pickles to a test case will become
    even more handy when later adding precise tests for Encoder - there we
    will need to assert that at such and such protocol encoding gives such
    and such pickles. And there are 5 protocol versions to test...
    93075d82
ogorek_test.go 20.7 KB