(input: &str, expected_output: &str)
| 78 | use crate::compile_typescript; |
| 79 | |
| 80 | fn compile(input: &str, expected_output: &str) { |
| 81 | let output = compile_typescript(input, "test.ts".to_owned()).unwrap(); |
| 82 | assert_eq!(output.output, expected_output); |
| 83 | } |
| 84 | |
| 85 | #[test] |
| 86 | fn tst_simple() { |