fix(tests/lean/run/inv_bug2): adjust test to reflect changes at data.vector
This commit is contained in:
parent
698754b2bb
commit
0ffb7c080f
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ namespace vector
|
||||||
protected definition destruct2 (v : vector A (succ (succ n))) {P : Π {n : nat}, vector A (succ n) → Type}
|
protected definition destruct2 (v : vector A (succ (succ n))) {P : Π {n : nat}, vector A (succ n) → Type}
|
||||||
(H : Π {n : nat} (h : A) (t : vector A n), P (h :: t)) : P v :=
|
(H : Π {n : nat} (h : A) (t : vector A n), P (h :: t)) : P v :=
|
||||||
begin
|
begin
|
||||||
cases v with (h', n', t'),
|
cases v with (n', h', t'),
|
||||||
apply (H h' t')
|
apply (H h' t')
|
||||||
end
|
end
|
||||||
end vector
|
end vector
|
||||||
|
|
Loading…
Reference in a new issue