Răsfoiți Sursa

Document a workaround for testing scripts without test() (#5257)

ThreeRhinosInAnElephantCostume 4 ani în urmă
părinte
comite
f581264b70
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      development/cpp/unit_testing.rst

+ 1 - 1
development/cpp/unit_testing.rst

@@ -352,5 +352,5 @@ If no errors are printed and everything goes well, you're done!
 
     If your test case requires that there is no ``test()``
     function present inside the script file,
-    you can disable the runtime section of the test by naming the script file so that it matches the pattern ``*.noscript.gd``.
+    you can disable the runtime section of the test by naming the script file so that it matches the pattern ``*.notest.gd``.
     For example, "test_empty_file.notest.gd".