Skip to content

Commit 961c824

Browse files
committed
fixes a typo in tautotrace
1 parent 40211f0 commit 961c824

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/tautotrace.m

+3-2
Original file line numberDiff line numberDiff line change
@@ -358,8 +358,9 @@ function testAutoManualInstrument(testCase)
358358
% check tracer and span names
359359
tracername = "ManualInstrument";
360360
verifyEqual(testCase, string(results{1}.resourceSpans.scopeSpans.scope.name), tracername);
361-
verifyEqual(testCase, string(results{1}.resourceSpans.scopeSpans.scope.name), tracername);
362-
verifyEqual(testCase, string(results{1}.resourceSpans.scopeSpans.scope.name), tracername);
361+
verifyEqual(testCase, string(results{3}.resourceSpans.scopeSpans.scope.name), tracername);
362+
verifyEqual(testCase, string(results{4}.resourceSpans.scopeSpans.scope.name), tracername);
363+
363364
verifyEqual(testCase, string(results{1}.resourceSpans.scopeSpans.spans.name), "compute_y");
364365
verifyEqual(testCase, string(results{2}.resourceSpans.scopeSpans.spans.name), "generate_data");
365366
verifyEqual(testCase, string(results{3}.resourceSpans.scopeSpans.spans.name), "polyfit");

0 commit comments

Comments
 (0)