diff options
Diffstat (limited to 'backend/unittests/Support')
| -rw-r--r-- | backend/unittests/Support/ErrorTest.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/unittests/Support/ErrorTest.cpp b/backend/unittests/Support/ErrorTest.cpp index 23140e3..af2ece9 100644 --- a/backend/unittests/Support/ErrorTest.cpp +++ b/backend/unittests/Support/ErrorTest.cpp @@ -28,6 +28,8 @@ int main() { return fail("Error must preserve its message"); if (rcc::getErrorCodeName(Failure.error().code()) != "parse error") return fail("Error code must have a stable name"); + if (rcc::getErrorCodeName(rcc::ErrorCode::FrameLayoutFailed) != "frame layout failed") + return fail("frame-layout errors must have a stable name"); return 0; } |
