Skip to content

Commit aefc33d

Browse files
committed
update tests
1 parent 75bbba4 commit aefc33d

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

compiler/qsc_partial_eval/src/tests/misc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,5 +606,5 @@ fn evaluation_error_within_stdlib_yield_correct_package_span() {
606606
}
607607
"#,
608608
});
609-
assert_error(&error, &expect!["UnexpectedDynamicValue(PackageSpan { package: PackageId(1), span: Span { lo: 13910, hi: 13925 } })"]);
609+
assert_error(&error, &expect!["UnexpectedDynamicValue(PackageSpan { package: PackageId(1), span: Span { lo: 13902, hi: 13917 } })"]);
610610
}

compiler/qsc_partial_eval/src/tests/qubits.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,6 @@ fn qubit_relabel_in_dynamic_block_triggers_capability_error() {
377377

378378
assert_error(
379379
&error,
380-
&expect!["CapabilityError(UseOfDynamicQubit(Span { lo: 60173, hi: 60186 }))"],
380+
&expect!["CapabilityError(UseOfDynamicQubit(Span { lo: 60168, hi: 60181 }))"],
381381
);
382382
}

samples_test/src/tests/language.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -136,14 +136,6 @@ pub const CONDITIONALBRANCHING_EXPECT_DEBUG: Expect = expect![[r#"
136136
It is livable
137137
Absolute value of -40 is 40
138138
()"#]];
139-
pub const COPYANDUPDATEOPERATOR_EXPECT: Expect = expect![[r#"
140-
Updated array: [10, 11, 100, 13]
141-
Updated array: [10, 100, 12, 200]
142-
()"#]];
143-
pub const COPYANDUPDATEOPERATOR_EXPECT_DEBUG: Expect = expect![[r#"
144-
Updated array: [10, 11, 100, 13]
145-
Updated array: [10, 100, 12, 200]
146-
()"#]];
147139
pub const CUSTOMMEASUREMENTS_EXPECT: Expect = expect!["Zero"];
148140
pub const CUSTOMMEASUREMENTS_EXPECT_DEBUG: Expect = expect!["Zero"];
149141
pub const DATATYPES_EXPECT: Expect = expect![[r#"

0 commit comments

Comments
 (0)