diff options
author | Jon Bratseth <bratseth@yahoo-inc.com> | 2017-01-03 10:48:44 +0100 |
---|---|---|
committer | Jon Bratseth <bratseth@yahoo-inc.com> | 2017-01-03 10:48:44 +0100 |
commit | f2dfa7062d3dd6f718bd2c6ff4bac7ab6232e92a (patch) | |
tree | 9d89d068cabf0dee3fcdcf8f105872660272f88b /vespajlib | |
parent | f711b8413e501a2835e814d1e69e9cc8636d739b (diff) |
Simplify test
Diffstat (limited to 'vespajlib')
-rw-r--r-- | vespajlib/src/test/java/com/yahoo/tensor/functions/ConcatTestCase.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vespajlib/src/test/java/com/yahoo/tensor/functions/ConcatTestCase.java b/vespajlib/src/test/java/com/yahoo/tensor/functions/ConcatTestCase.java index 8a920ad2cec..45ce5c92a1e 100644 --- a/vespajlib/src/test/java/com/yahoo/tensor/functions/ConcatTestCase.java +++ b/vespajlib/src/test/java/com/yahoo/tensor/functions/ConcatTestCase.java @@ -43,8 +43,7 @@ public class ConcatTestCase { Tensor b = Tensor.from("tensor(x[]):{ {x:0}:4, {x:1}:5, {x:2}:6 }"); assertEquals(Tensor.from("tensor(x[5]):{ {x:0}:1, {x:1}:2, {x:2}:4, {x:3}:5, {x:4}:6 }"), a.concat(b, "x")); try { - assertEquals(Tensor.from("tensor(x[3],y[2]):{ {x:0,y:0}:1, {x:1,y:0}:2, {x:2,y:0}:3, " + - "{x:0,y:1}:4, {x:1,y:1}:5, {x:2,y:1}:6 }"), a.concat(b, "y")); + a.concat(b, "y"); fail("Expected exception"); } catch (IllegalArgumentException expected) { // success |