diff --git a/test/propeller/push/instructions/vector_spec.clj b/test/propeller/push/instructions/vector_spec.clj index b8cb6d4..8021dea 100644 --- a/test/propeller/push/instructions/vector_spec.clj +++ b/test/propeller/push/instructions/vector_spec.clj @@ -331,7 +331,7 @@ replacement-index (.indexOf vect toreplace)] (or (and (= replacement-index -1) - (= [replacement toreplace] (state/peek-stack-many end-state value-stack 2)) + (state/empty-stack? end-state value-stack) (= vect end-vector)) (and (state/empty-stack? end-state value-stack) (= end-vector (assoc vect replacement-index replacement))))))