diff options
author | Jon Bratseth <bratseth@oath.com> | 2018-11-29 07:24:41 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-29 07:24:41 -0800 |
commit | f53959bddcd482b262276c4d3ae75fa754f82394 (patch) | |
tree | 3557fb25956d8b65273d77c1903cb8097c06bb1a /documentgen-test | |
parent | 71eccb08d9b88fb4b5485baed3fdc2cc17822a6f (diff) |
Revert "Revert "Always output tensor type in toString""
Diffstat (limited to 'documentgen-test')
-rw-r--r-- | documentgen-test/src/test/java/com/yahoo/vespa/config/DocumentGenPluginTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/documentgen-test/src/test/java/com/yahoo/vespa/config/DocumentGenPluginTest.java b/documentgen-test/src/test/java/com/yahoo/vespa/config/DocumentGenPluginTest.java index cc597cbc859..60d135f6440 100644 --- a/documentgen-test/src/test/java/com/yahoo/vespa/config/DocumentGenPluginTest.java +++ b/documentgen-test/src/test/java/com/yahoo/vespa/config/DocumentGenPluginTest.java @@ -926,7 +926,7 @@ public class DocumentGenPluginTest { Book book = new Book(new DocumentId("doc:book:0")); assertNull(book.getVector()); book.setVector(Tensor.from("{{x:0}:1.0, {x:1}:2.0, {x:2}:3.0}")); - assertEquals("{{x:0}:1.0,{x:1}:2.0,{x:2}:3.0}", book.getVector().toString()); + assertEquals("tensor(x{}):{{x:0}:1.0,{x:1}:2.0,{x:2}:3.0}", book.getVector().toString()); } } |