diff --git a/glue/cirq/stimcirq/_cirq_to_stim_test.py b/glue/cirq/stimcirq/_cirq_to_stim_test.py index da22345a8..9bb6f55f6 100644 --- a/glue/cirq/stimcirq/_cirq_to_stim_test.py +++ b/glue/cirq/stimcirq/_cirq_to_stim_test.py @@ -352,7 +352,14 @@ def test_loop_with_one_rep(): ) ) sc = stimcirq.cirq_circuit_to_stim_circuit(cc) - assert str(sc).splitlines().count('TICK') > 1 + assert str(sc) == """H 0 +TICK +H 0 +TICK +H 0 +TICK +H 0 +TICK""" def test_on_tagged_loop(): a, b = cirq.LineQubit.range(2)