Skip to content

Commit adf3433

Browse files
committed
test: Fix all test cases
1 parent a763d92 commit adf3433

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

pantograph/test_server.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def test_version(self):
77
"""
88
NOTE: Update this after upstream updates.
99
"""
10-
self.assertEqual(get_version(), "0.3.8")
10+
self.assertEqual(get_version(), "0.3.9")
1111

1212
def test_server_init_del(self):
1313
import warnings
@@ -124,12 +124,12 @@ def test_have(self):
124124
state1 = server.goal_tactic(state0, tactic=TacticHave(branch="2 = 1 + 1", binder_name="h"))
125125
self.assertEqual(state1.goals, [
126126
Goal(
127-
"_uniq.255",
127+
"_uniq.256",
128128
variables=[],
129129
target="2 = 1 + 1",
130130
),
131131
Goal(
132-
"_uniq.257",
132+
"_uniq.258",
133133
variables=[Variable(name="h", t="2 = 1 + 1")],
134134
target="1 + 1 = 2",
135135
),
@@ -141,13 +141,13 @@ def test_let(self):
141141
state0, tactic=TacticLet(branch="2 = 1 + 1", binder_name="h"))
142142
self.assertEqual(state1.goals, [
143143
Goal(
144-
"_uniq.255",
144+
"_uniq.256",
145145
variables=[],
146146
name="h",
147147
target="2 = 1 + 1",
148148
),
149149
Goal(
150-
"_uniq.257",
150+
"_uniq.258",
151151
variables=[Variable(name="h", t="2 = 1 + 1", v="?h")],
152152
target="1 + 1 = 2",
153153
),
@@ -309,7 +309,7 @@ def test_load_sorry(self):
309309
"_uniq.21",
310310
[
311311
Variable(name="p", t="Prop"),
312-
Variable(name="h1", t="p ∨ p", v="?m.19"),
312+
Variable(name="h1", t="p ∨ p", v="?m.7"),
313313
],
314314
target="p → p",
315315
),

0 commit comments

Comments
 (0)