Skip to content

Commit 667f55d

Browse files
committed
[release:minor] 2.3.0 Data Frame Shape Inference
1 parent 5352ac1 commit 667f55d

File tree

1 file changed

+4
-2
lines changed
  • test/functionality/abstract-interpretation/data-frame

1 file changed

+4
-2
lines changed

test/functionality/abstract-interpretation/data-frame/data-frame.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export function testDataFrameDomainWithSource(
163163
const { parser = shell, name, skipRun = false } = config ?? {};
164164
criteria = criteria.map(([criterion, expected, options]) => [criterion, expected, getDefaultTestOptions(expected, options)]);
165165
guardValidCriteria(criteria);
166-
assertDataFrameDomain(parser, getCode(fileArg), criteria.map(entry => [entry[0], entry[1]]), name ?? getCode(fileArg), flowRConfig);
166+
assertDataFrameDomain(parser, getCode(fileArg), criteria.map(entry => [entry[0], entry[1]]), name ?? getCode(fileArg), config, flowRConfig);
167167
testDataFrameDomain(shell, getCode(textArg), criteria, { skipRun, parser, name: name ?? getCode(textArg) }, flowRConfig);
168168
}
169169

@@ -188,7 +188,9 @@ export function assertDataFrameDomain(
188188
let result: PipelineOutput<typeof DEFAULT_DATAFLOW_PIPELINE | typeof TREE_SITTER_DATAFLOW_PIPELINE> | undefined;
189189

190190
beforeAll(async() => {
191-
result = await createDataflowPipeline(parser, { request: requestFromInput(code) }, flowRConfig).allRemainingSteps();
191+
if(!skipTestBecauseConfigNotMet(config)) {
192+
result = await createDataflowPipeline(parser, {request: requestFromInput(code)}, flowRConfig).allRemainingSteps();
193+
}
192194
});
193195

194196
test.skipIf(skipTestBecauseConfigNotMet(config)).each(expected)(decorateLabelContext(name, ['absint']), (criterion, expect) => {

0 commit comments

Comments
 (0)