diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-10-02 13:51:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-02 13:51:37 +0200 |
commit | e5348a6a38b3c06a916223ad0b99e8cfe47725b1 (patch) | |
tree | 8c8f5f0e2328781b96f92e4842cc0b4a64b35650 /cli/graph.rs | |
parent | 5cd29b37f7946ac05783bae777be8503182a8b8e (diff) |
upgrade: swc, deno_doc, deno_lint, dprint (#7793)
Diffstat (limited to 'cli/graph.rs')
-rw-r--r-- | cli/graph.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/graph.rs b/cli/graph.rs index d3f05c5f4..ed8f5cad7 100644 --- a/cli/graph.rs +++ b/cli/graph.rs @@ -1030,12 +1030,13 @@ mod tests { ); let h = handler.borrow(); assert_eq!(h.cache_calls.len(), 1, "only one file should be emitted"); + // FIXME(bartlomieju): had to add space in `<div>`, probably a quirk in swc_ecma_codegen assert!( h.cache_calls[0] .2 .to_string() .unwrap() - .contains("<div>Hello world!</div>"), + .contains("<div >Hello world!</div>"), "jsx should have been preserved" ); } |