1 2 3 4 5 6 7 8 9 10 11 12 13 14
use ezno_parser::{ASTNode, Module}; #[test] fn random_comments() { let input = r#" const [,,/* hi */] = []; "# .trim_start() .replace(" ", "\t"); let _module = Module::from_string(input.clone(), Default::default()).unwrap(); // let output = module.to_string(&ToStringOptions::typescript()); // pretty_assertions::assert_eq!(output, input); }