test: Fix pickle state name

This commit is contained in:
Leni Aniva 2025-06-20 12:25:40 -07:00
parent dfa491a5c2
commit 6323c02f47
Signed by: aniva
GPG Key ID: D5F96287843E8DFB
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ def test_pickling_env_extensions : TestM Unit := do
let .success state1 _ ← state.tryTacticM goal (Tactic.assignWithAuxLemma type value) | unreachable!
let parentExpr := state1.parentExpr?.get!
checkTrue "src has aux lemma" $ parentExpr.getUsedConstants.any λ name => name.isAuxLemma
goalStatePickle state statePath
goalStatePickle state1 statePath
let ((), _) ← runCoreM coreDst $ transformTestT runTermElabMInCore do
let (state1, _) ← goalStateUnpickle statePath (← getEnv)
let parentExpr := state1.parentExpr?.get!