summaryrefslogtreecommitdiff
path: root/cli/tests/integration/mod.rs
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2021-12-16 10:45:41 +0000
committerGitHub <noreply@github.com>2021-12-16 21:45:41 +1100
commit9ffc7edc23444be8bdcc1befd3709b309780e3d1 (patch)
tree551a223016816b92a5f8cf57949c331bf087a960 /cli/tests/integration/mod.rs
parente28fb70aeecf548d150312c30f7f32b60c4fdece (diff)
refactor(cli): use GraphData for check and emit (#12960)
Diffstat (limited to 'cli/tests/integration/mod.rs')
-rw-r--r--cli/tests/integration/mod.rs15
1 files changed, 8 insertions, 7 deletions
diff --git a/cli/tests/integration/mod.rs b/cli/tests/integration/mod.rs
index 9cd1b2c11..b04f552e8 100644
--- a/cli/tests/integration/mod.rs
+++ b/cli/tests/integration/mod.rs
@@ -382,13 +382,14 @@ fn ts_reload() {
// check the output of the the bundle program.
let output_path = hello_ts.canonicalize().unwrap();
- assert!(std::str::from_utf8(&output.stderr)
- .unwrap()
- .trim()
- .contains(&format!(
- "host.getSourceFile(\"{}\", Latest)",
- url::Url::from_file_path(&output_path).unwrap().as_str()
- )));
+ assert!(
+ dbg!(std::str::from_utf8(&output.stderr).unwrap().trim()).contains(
+ &format!(
+ "host.getSourceFile(\"{}\", Latest)",
+ url::Url::from_file_path(&output_path).unwrap().as_str()
+ )
+ )
+ );
}
#[test]