Skip to content

Commit

Permalink
fix a stable only issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsonk committed Sep 22, 2020
1 parent 78aa80f commit bfeb062
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/specifier_handler.rs
Expand Up @@ -554,8 +554,8 @@ pub mod tests {
assert!(cached_module.maybe_dependencies.is_none());
assert_eq!(cached_module.media_type, MediaType::TypeScript);
assert_eq!(
cached_module.source.as_bytes(),
b"export { printHello } from \"./print_hello.ts\";\n"
cached_module.source.to_str().unwrap(),
"export { printHello } from \"./print_hello.ts\";\n"
);
assert_eq!(cached_module.specifier, specifier);
}
Expand Down

0 comments on commit bfeb062

Please sign in to comment.