We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88685c0 commit cb37974Copy full SHA for cb37974
2 files changed
rust/cymbal/src/core/types/langs/native.rs
@@ -936,6 +936,7 @@ mod test {
936
assert_eq!(frames[0].lang, "go");
937
938
assert_eq!(frames[1].resolved_name.as_deref(), Some("main.transform"));
939
+ assert_eq!(frames[1].source.as_deref(), Some("test_go.go"));
940
assert_eq!(frames[1].line, Some(16));
941
assert_eq!(frames[1].lang, "go");
942
}
rust/cymbal/tests/static/native/test_go.go
@@ -14,7 +14,7 @@ func process(value int) int {
14
func transform(value int) int {
15
doubled := value * 2
16
doubled += value / 3
17
- // Line 17 - this should appear as an inlined frame
+ // Line 16 - this should appear as an inlined frame
18
return doubled + 5
19
20
0 commit comments