@@ -0,0 +1,281 @@
+import numpy%0A%0Aimport spacy.en%0A%0A%0Adef test_add_vector():%0A    vocab = spacy.en.English.Defaults.create_vocab()%0A    vocab.resize_vectors(10)%0A    lex = vocab%5Bu'Hello'%5D%0A    lex.vector = numpy.ndarray((10,), dtype='float32')%0A    lex = vocab%5Bu'Hello'%5D%0A    assert lex.vector.shape == (10,)%0A

Add test for vector resizing, re Issue #544