Skip to content

Commit 6a36503

Browse files
author
joaosaffran
committed
formating
1 parent b0ac6be commit 6a36503

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

llvm/unittests/Object/DXContainerTest.cpp

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -870,10 +870,8 @@ TEST(RootSignature, ParseRootFlags) {
870870
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
871871
0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
872872
};
873-
EXPECT_THAT_EXPECTED(
874-
DXContainer::create(getMemoryBuffer<68>(Buffer)),
875-
FailedWithMessage("Stream Error: An unspecified error has occurred. "
876-
"Invalid Root Signature Version"));
873+
EXPECT_THAT_EXPECTED(DXContainer::create(getMemoryBuffer<68>(Buffer)),
874+
FailedWithMessage("Invalid Root Signature Version"));
877875
}
878876
{
879877
// Flag has been set to an invalid value
@@ -885,9 +883,7 @@ TEST(RootSignature, ParseRootFlags) {
885883
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
886884
0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0xFF,
887885
};
888-
EXPECT_THAT_EXPECTED(
889-
DXContainer::create(getMemoryBuffer<68>(Buffer)),
890-
FailedWithMessage("Stream Error: An unspecified error has occurred. "
891-
"Invalid Root Signature flag"));
886+
EXPECT_THAT_EXPECTED(DXContainer::create(getMemoryBuffer<68>(Buffer)),
887+
FailedWithMessage("Invalid Root Signature flag"));
892888
}
893889
}

0 commit comments

Comments
 (0)