diff options
Diffstat (limited to 'tensorflow/compiler/xla/tests/reshape_test.cc')
-rw-r--r-- | tensorflow/compiler/xla/tests/reshape_test.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tensorflow/compiler/xla/tests/reshape_test.cc b/tensorflow/compiler/xla/tests/reshape_test.cc index d235b9a158..72c68f24a0 100644 --- a/tensorflow/compiler/xla/tests/reshape_test.cc +++ b/tensorflow/compiler/xla/tests/reshape_test.cc @@ -431,9 +431,8 @@ XLA_TEST_F(ReshapeTest, ToScalar) { XLA_TEST_F(ReshapeTest, BadDimensions) { ComputationBuilder b(client_, TestName()); b.Reshape(b.ConstantR1<int32>({1}), {}, {}); - EXPECT_THAT( - ExecuteToString(&b, {}), - ::testing::HasSubstr("not a permutation of the operand dimensions")); + EXPECT_THAT(ExecuteToString(&b, {}), + ::testing::HasSubstr("dimensions not a permutation")); } XLA_TEST_F(ReshapeTest, BadNewSizes) { |