diff options
author | Jon Bratseth <bratseth@yahoo-inc.com> | 2017-01-18 10:56:57 +0100 |
---|---|---|
committer | Jon Bratseth <bratseth@yahoo-inc.com> | 2017-01-18 10:56:57 +0100 |
commit | ac728c6a77543ea618bee127221f950670e84eb8 (patch) | |
tree | d21c3cfd66ac2ec92aeb4189c0d5a7396c4bcea4 /vespajlib/src/test/java/com/yahoo/tensor/serialization/DenseBinaryFormatTestCase.java | |
parent | 5bd40b8cdb0c025e439483bd7f246b68fee0e478 (diff) |
Simplify and test type check
Diffstat (limited to 'vespajlib/src/test/java/com/yahoo/tensor/serialization/DenseBinaryFormatTestCase.java')
-rw-r--r-- | vespajlib/src/test/java/com/yahoo/tensor/serialization/DenseBinaryFormatTestCase.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vespajlib/src/test/java/com/yahoo/tensor/serialization/DenseBinaryFormatTestCase.java b/vespajlib/src/test/java/com/yahoo/tensor/serialization/DenseBinaryFormatTestCase.java index 1ff8b3315b7..9cf48bd0fdf 100644 --- a/vespajlib/src/test/java/com/yahoo/tensor/serialization/DenseBinaryFormatTestCase.java +++ b/vespajlib/src/test/java/com/yahoo/tensor/serialization/DenseBinaryFormatTestCase.java @@ -40,7 +40,7 @@ public class DenseBinaryFormatTestCase { fail("Expected exception"); } catch (IllegalArgumentException expected) { - assertEquals("Type/instance mismatch: Instance has size 2 in x[1] in type tensor(x[1],y[1])", expected.getMessage()); + assertEquals("Type/instance mismatch: A tensor of type tensor(x[2],y[2]) cannot be assigned to type tensor(x[1],y[1])", expected.getMessage()); } } |