summaryrefslogtreecommitdiff
path: root/cli/source_maps.rs
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2019-09-19 09:56:13 +1000
committerRyan Dahl <ry@tinyclouds.org>2019-09-18 19:56:13 -0400
commit693a45c3fd700bb48f9dc93829416aebb4e4d343 (patch)
treef4f7aa30864126ca8a9af3a47254db2168e74a1a /cli/source_maps.rs
parentde19598d1303d5961d845bdf2b093ce934cf1058 (diff)
Utilise internal names for snapshot bundles (#2973)
Diffstat (limited to 'cli/source_maps.rs')
-rw-r--r--cli/source_maps.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/source_maps.rs b/cli/source_maps.rs
index b3b8d7e56..b2943cddb 100644
--- a/cli/source_maps.rs
+++ b/cli/source_maps.rs
@@ -407,7 +407,7 @@ mod tests {
assert_eq!(actual.message, "TypeError: baz");
// Because this is accessing the live bundle, this test might be more fragile
assert_eq!(actual.frames.len(), 1);
- assert!(actual.frames[0].script_name.ends_with("js/window.ts"));
+ assert!(actual.frames[0].script_name.ends_with("/window.ts"));
}
#[test]