MCPcopy Create free account
hub / github.com/PRQL/prql / test_post_process

Function test_post_process

prqlc/prqlc/src/cli/jinja.rs:194–199  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

192
193 #[test]
194 fn test_post_process() {
195 let src = r###"from in_process = {{ source('salesforce', 'in_process') }}"###;
196 let (pre_proc_text, ctx) = pre_process(src).unwrap();
197 let post_proc_text = post_process(&pre_proc_text, ctx);
198 insta::assert_yaml_snapshot!(post_proc_text, @r#""from in_process = {{ source('salesforce', 'in_process') }}""#);
199 }
200
201 #[test]
202 fn test_config_interpolation() {

Callers

nothing calls this directly

Calls 2

pre_processFunction · 0.85
post_processFunction · 0.85

Tested by

no test coverage detected