浏览代码

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

ThreeRhinosInAnElephantCostume 4 年之前
父节点
当前提交
f581264b70
共有 1 个文件被更改,包括 1 次插入1 次删除
  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".