summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/XRay/FDRRecordPrinterTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/unittests/XRay/FDRRecordPrinterTest.cpp')
-rw-r--r--llvm/unittests/XRay/FDRRecordPrinterTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/XRay/FDRRecordPrinterTest.cpp b/llvm/unittests/XRay/FDRRecordPrinterTest.cpp
index f4cebf8d1f4..339d4b0d428 100644
--- a/llvm/unittests/XRay/FDRRecordPrinterTest.cpp
+++ b/llvm/unittests/XRay/FDRRecordPrinterTest.cpp
@@ -39,10 +39,10 @@ template <> struct Helper<WallclockRecord> {
template <> struct Helper<NewCPUIDRecord> {
static std::unique_ptr<Record> construct() {
- return make_unique<NewCPUIDRecord>(1);
+ return make_unique<NewCPUIDRecord>(1, 2);
}
- static const char *expected() { return "<CPU ID: 1>"; }
+ static const char *expected() { return "<CPU: id = 1, tsc = 2>"; }
};
template <> struct Helper<TSCWrapRecord> {
OpenPOWER on IntegriCloud