From 961c8245690b96ab005774daf4d3a6032a5898d2 Mon Sep 17 00:00:00 2001 From: duncanpo Date: Tue, 29 Oct 2024 09:54:10 -0400 Subject: [PATCH] fixes a typo in tautotrace --- test/tautotrace.m | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/tautotrace.m b/test/tautotrace.m index a6b9c2a..5265595 100644 --- a/test/tautotrace.m +++ b/test/tautotrace.m @@ -358,8 +358,9 @@ function testAutoManualInstrument(testCase) % check tracer and span names tracername = "ManualInstrument"; verifyEqual(testCase, string(results{1}.resourceSpans.scopeSpans.scope.name), tracername); - verifyEqual(testCase, string(results{1}.resourceSpans.scopeSpans.scope.name), tracername); - verifyEqual(testCase, string(results{1}.resourceSpans.scopeSpans.scope.name), tracername); + verifyEqual(testCase, string(results{3}.resourceSpans.scopeSpans.scope.name), tracername); + verifyEqual(testCase, string(results{4}.resourceSpans.scopeSpans.scope.name), tracername); + verifyEqual(testCase, string(results{1}.resourceSpans.scopeSpans.spans.name), "compute_y"); verifyEqual(testCase, string(results{2}.resourceSpans.scopeSpans.spans.name), "generate_data"); verifyEqual(testCase, string(results{3}.resourceSpans.scopeSpans.spans.name), "polyfit");