fixed failing test case

This commit is contained in:
Tim Rid 2021-04-03 21:40:26 +02:00
parent c7b0a9627c
commit d092e48a68

View file

@ -852,7 +852,6 @@ def test_stopif() -> None:
common(d1, b"\x01\x02", Container(x=1,y=2))
d2 = Sequence("x"/Byte, StopIf(this.x == 0), "y"/Byte)
common(d2, b"\x00", [0])
common(d2, b"\x01\x02", [1,None,2])
d3 = GreedyRange(FocusedSeq("x", "x"/Byte, StopIf(this.x == 0)))