@@ -989,7 +989,7 @@ TEST_F(Qasm3ParserTest, ImportQasmAssignmentUnknownIdentifier) {
989
989
try {
990
990
const auto qc = QuantumComputation::fromQASM (testfile);
991
991
} catch (const qasm3::CompilerError& e) {
992
- EXPECT_EQ (e.message , " Type check failed." );
992
+ EXPECT_EQ (e.message , " Type Check Error: Type check failed." );
993
993
throw ;
994
994
}
995
995
},
@@ -1007,7 +1007,7 @@ TEST_F(Qasm3ParserTest, ImportQasmAssignmentConstVar) {
1007
1007
try {
1008
1008
const auto qc = QuantumComputation::fromQASM (testfile);
1009
1009
} catch (const qasm3::CompilerError& e) {
1010
- EXPECT_EQ (e.message , " Type check failed." );
1010
+ EXPECT_EQ (e.message , " Type Check Error: Type check failed." );
1011
1011
throw ;
1012
1012
}
1013
1013
},
@@ -1325,7 +1325,7 @@ TEST_F(Qasm3ParserTest, ImportQasmTypeMismatchAssignment) {
1325
1325
try {
1326
1326
const auto qc = QuantumComputation::fromQASM (testfile);
1327
1327
} catch (const qasm3::CompilerError& e) {
1328
- EXPECT_EQ (e.message , " Type check failed." );
1328
+ EXPECT_EQ (e.message , " Type Check Error: Type check failed." );
1329
1329
throw ;
1330
1330
}
1331
1331
},
@@ -1341,7 +1341,7 @@ TEST_F(Qasm3ParserTest, ImportQasmTypeMismatchBinaryExpr) {
1341
1341
try {
1342
1342
const auto qc = QuantumComputation::fromQASM (testfile);
1343
1343
} catch (const qasm3::CompilerError& e) {
1344
- EXPECT_EQ (e.message , " Type check failed." );
1344
+ EXPECT_EQ (e.message , " Type Check Error: Type check failed." );
1345
1345
throw ;
1346
1346
}
1347
1347
},
@@ -1373,7 +1373,7 @@ TEST_F(Qasm3ParserTest, ImportQasmUnaryTypeMismatchLogicalNot) {
1373
1373
try {
1374
1374
const auto qc = QuantumComputation::fromQASM (testfile);
1375
1375
} catch (const qasm3::CompilerError& e) {
1376
- EXPECT_EQ (e.message , " Type check failed." );
1376
+ EXPECT_EQ (e.message , " Type Check Error: Type check failed." );
1377
1377
throw ;
1378
1378
}
1379
1379
},
@@ -1389,7 +1389,7 @@ TEST_F(Qasm3ParserTest, ImportQasmUnaryTypeMismatchBitwiseNot) {
1389
1389
try {
1390
1390
const auto qc = QuantumComputation::fromQASM (testfile);
1391
1391
} catch (const qasm3::CompilerError& e) {
1392
- EXPECT_EQ (e.message , " Type check failed." );
1392
+ EXPECT_EQ (e.message , " Type Check Error: Type check failed." );
1393
1393
throw ;
1394
1394
}
1395
1395
},
@@ -1404,7 +1404,7 @@ TEST_F(Qasm3ParserTest, ImportQasmBinaryTypeMismatch) {
1404
1404
try {
1405
1405
const auto qc = QuantumComputation::fromQASM (testfile);
1406
1406
} catch (const qasm3::CompilerError& e) {
1407
- EXPECT_EQ (e.message , " Type check failed." );
1407
+ EXPECT_EQ (e.message , " Type Check Error: Type check failed." );
1408
1408
throw ;
1409
1409
}
1410
1410
},
@@ -1420,7 +1420,7 @@ TEST_F(Qasm3ParserTest, ImportQasmAssignmentIndexType) {
1420
1420
try {
1421
1421
const auto qc = QuantumComputation::fromQASM (testfile);
1422
1422
} catch (const qasm3::CompilerError& e) {
1423
- EXPECT_EQ (e.message , " Type check failed." );
1423
+ EXPECT_EQ (e.message , " Type Check Error: Type check failed." );
1424
1424
throw ;
1425
1425
}
1426
1426
},
@@ -1435,7 +1435,7 @@ TEST_F(Qasm3ParserTest, ImportQasmUnknownIdentifier) {
1435
1435
try {
1436
1436
const auto qc = QuantumComputation::fromQASM (testfile);
1437
1437
} catch (const qasm3::CompilerError& e) {
1438
- EXPECT_EQ (e.message , " Type check failed." );
1438
+ EXPECT_EQ (e.message , " Type Check Error: Type check failed." );
1439
1439
throw ;
1440
1440
}
1441
1441
},
@@ -1450,7 +1450,7 @@ TEST_F(Qasm3ParserTest, ImportQasmUnknownQubit) {
1450
1450
try {
1451
1451
const auto qc = QuantumComputation::fromQASM (testfile);
1452
1452
} catch (const qasm3::CompilerError& e) {
1453
- EXPECT_EQ (e.message , " Type check failed." );
1453
+ EXPECT_EQ (e.message , " Type Check Error: Type check failed." );
1454
1454
throw ;
1455
1455
}
1456
1456
},
@@ -1465,7 +1465,7 @@ TEST_F(Qasm3ParserTest, ImportQasmNegativeTypeDesignator) {
1465
1465
try {
1466
1466
const auto qc = QuantumComputation::fromQASM (testfile);
1467
1467
} catch (const qasm3::CompilerError& e) {
1468
- EXPECT_EQ (e.message , " Type check failed." );
1468
+ EXPECT_EQ (e.message , " Type Check Error: Type check failed." );
1469
1469
throw ;
1470
1470
}
1471
1471
},
0 commit comments