Function swc_ecma_transforms_testing::compare_stdout
source ยท pub fn compare_stdout<F, P>(syntax: Syntax, tr: F, input: &str)
Expand description
Execute node
for input
and ensure that it prints same output after
transformation.
pub fn compare_stdout<F, P>(syntax: Syntax, tr: F, input: &str)
Execute node
for input
and ensure that it prints same output after
transformation.