From 4e4661e59b54a3c19552ca36bbb4b6328c93fbe3 Mon Sep 17 00:00:00 2001 From: Freddy Mcloughlan <50229842+Sandwich1699975@users.noreply.github.com> Date: Sun, 13 Oct 2024 19:52:24 +1100 Subject: [PATCH] Updated TestCaseSource argument (#368) TestCaseSource requires arugment `filename` instead of `file` --- advanced/unit-testing/frameworks/custom/runner.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advanced/unit-testing/frameworks/custom/runner.rst b/advanced/unit-testing/frameworks/custom/runner.rst index 3e4feac0a8..6c225908a1 100644 --- a/advanced/unit-testing/frameworks/custom/runner.rst +++ b/advanced/unit-testing/frameworks/custom/runner.rst @@ -65,7 +65,7 @@ let's override a "testing" stage for the :ref:`unit_testing_frameworks_unity`: stdout="test/test_desktop/test_calculator.cpp:43:test_calculator_division:FAIL: Expected 32 Was 33", duration=0.44, source=TestCaseSource( - file="test/test_desktop/test_calculator.cpp", line=43 + filename="test/test_desktop/test_calculator.cpp", line=43 ), ) )