• Kirill Smelkov's avatar
    tests: Move Graphite and "long line" data definition out from main test table · 81e5b5e7
    Kirill Smelkov authored
    Having that long data makes the table clumsy and harder to understand.
    By moving such data definition out of the table, we make it a bit easier
    to understand.
    
    In the case of "long line", the pickle input and the line itself were
    almost duplicating each other, so instead of having two long lines
    explicitly pasted, let's have the test input be defined as
    
    +	{"too long line", "V" + longLine + "\n.", longLine},
    
    In the case of Graphite messages, one long Graphite object was also
    duplicated in encode_test.go .
    
    Just a cleanup, no semantic change.
    81e5b5e7
encode_test.go 1.58 KB