Skip to content

Commit 63b4cfa

Browse files
committed
Add test
1 parent 2b87596 commit 63b4cfa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

symbolic-sourcemapcache/tests/integration.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ fn resolves_inlined_function() {
3838
assert_eq!(sl.line(), 1);
3939
assert_eq!(sl.column(), 8);
4040
assert_eq!(sl.scope(), ScopeLookupResult::AnonymousScope);
41+
42+
// There are no mappings for line 1 in the sourcemap.
43+
assert!(cache.lookup(SourcePosition::new(1, 17)).is_none());
4144
}
4245

4346
#[test]

0 commit comments

Comments
 (0)