From a6d7f90f502ab341b4f326d977258c94b3210c8a Mon Sep 17 00:00:00 2001 From: Jake Hillion Date: Wed, 31 May 2023 09:49:18 -0700 Subject: [PATCH] integration_py: fix expected sizes --- test/integration.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/integration.py b/test/integration.py index 53e6709..ea3553b 100644 --- a/test/integration.py +++ b/test/integration.py @@ -142,9 +142,9 @@ class OIDebuggerTestCase(unittest.TestCase): with open(OUTPUT_PATH, "r") as f: output = json.loads(f.read()) self.assertEqual(output[0]["typeName"], "Foo") - self.assertEqual(output[0]["staticSize"], 2176) + self.assertEqual(output[0]["staticSize"], 2192) self.assertEqual(output[0]["dynamicSize"], 76) - self.assertEqual(len(output[0]["members"]), 25) + self.assertEqual(len(output[0]["members"]), 24) @unittest.skip( "https://github.com/facebookexperimental/object-introspection/issues/53" @@ -172,9 +172,9 @@ class OIDebuggerTestCase(unittest.TestCase): with open(OUTPUT_PATH, "r") as f: output = json.loads(f.read()) self.assertEqual(output[0]["typeName"], "Foo") - self.assertEqual(output[0]["staticSize"], 2176) + self.assertEqual(output[0]["staticSize"], 2192) self.assertEqual(output[0]["dynamicSize"], 76) - self.assertEqual(len(output[0]["members"]), 25) + self.assertEqual(len(output[0]["members"]), 24) def test_custom_generated_file(self): with subprocess.Popen(