Generated version facts through lab.version_info; options and world harnesses take the data version from the jar
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -33,7 +33,7 @@ class GenVersionConstsTests(unittest.TestCase):
|
||||
jar = Path(directory) / "client.jar"
|
||||
with zipfile.ZipFile(jar, "w") as archive:
|
||||
archive.writestr("version.json", json.dumps(INFO))
|
||||
self.assertEqual(gen.jar_info(jar), INFO)
|
||||
self.assertEqual(lab.version_info(jar), INFO)
|
||||
|
||||
def test_committed_file_is_the_pinned_version(self):
|
||||
"""A pin bump regenerates version.rs: the lock and the constants never disagree."""
|
||||
|
||||
Reference in New Issue
Block a user