How do I handle the unmarshalled whitespace in this Go test?
I have a test for a parseFruitXML function which returns the unmarshalled struct as ‘got’ and uses !reflect.DeepEqual to compare this against a populated struct called ‘want’.
I have a test for a parseFruitXML function which returns the unmarshalled struct as ‘got’ and uses !reflect.DeepEqual to compare this against a populated struct called ‘want’.