fix(tests/lean/run/inv_bug2): adjust test to reflect changes at data.vector

This commit is contained in:
Leonardo de Moura 2015-01-08 12:11:52 -08:00
parent 698754b2bb
commit 0ffb7c080f

View file

@ -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