Skip to content

Commit

Permalink
Enable test arrays_member_int0
Browse files Browse the repository at this point in the history
  • Loading branch information
ttreyer committed Jan 10, 2024
1 parent 9a48201 commit ec40543
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions test/integration/arrays.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ definitions = '''
"capacity":10
}]}]'''
[cases.member_int0]
oil_skip = 'zero length arrays fail codegen v2' # https://github.com/facebookexperimental/object-introspection/issues/295
# WARNING: zero-length arrays are handled differently to non-empty arrays.
# They end up not being treated as containers. This should probably change
# in the future.
param_types = ["const Foo0&"]
setup = "return {};"
expect_json = '''[{
Expand All @@ -56,13 +52,13 @@ definitions = '''
"dynamicSize":0
}]}]'''
expect_json_v2 = '''[{
"staticSize":1,
"exclusiveSize":1,
"size":1,
"staticSize":0,
"exclusiveSize":0,
"size":0,
"members":[{
"staticSize":0,
"exclusiveSize":0,
"size":1
"size":0
}]}]'''
[cases.multidim_legacy] # Test for legacy behaviour. Remove with OICodeGen
oil_disable = 'oil only runs on codegen v2'
Expand Down

0 comments on commit ec40543

Please sign in to comment.