Skip to content

Commit 0b52ae9

Browse files
orpuente-MSidavis
authored andcommitted
update test
1 parent 6547385 commit 0b52ae9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

compiler/qsc_qasm3/src/parser/stmt/tests/expr_stmt.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ fn cast_expr() {
117117
parse,
118118
"bit(0);",
119119
&expect![[r#"
120-
Stmt [0-6]
121-
StmtKind: ExprStmt [0-6]: Expr [0-6]: Cast [0-6]:
120+
Stmt [0-7]
121+
StmtKind: ExprStmt [0-7]: Expr [0-6]: Cast [0-6]:
122122
ClassicalType [0-3]: BitType
123123
Expr [4-5]: Lit: Int(0)"#]],
124124
);
@@ -130,8 +130,8 @@ fn cast_expr_with_designator() {
130130
parse,
131131
"bit[45](0);",
132132
&expect![[r#"
133-
Stmt [0-10]
134-
StmtKind: ExprStmt [0-10]: Expr [0-10]: Cast [0-10]:
133+
Stmt [0-11]
134+
StmtKind: ExprStmt [0-11]: Expr [0-10]: Cast [0-10]:
135135
ClassicalType [0-7]: BitType [0-7]: Expr [4-6]: Lit: Int(45)
136136
Expr [8-9]: Lit: Int(0)"#]],
137137
);

0 commit comments

Comments
 (0)