ソースを参照

test(tools): drop the quantifier that miscounted its own enumeration

"Two emitted positions" was followed by an enumeration counting
occurrences — the field twice, the class statement once — so the two
halves of the sentence disagreed. The sentence now states what needs the
tables without a count.
Chinesezjc 1 ヶ月 前
親
コミット
0de132b927
1 ファイル変更、4 行追加、4 行削除
  1. 4 4
      packages/core/tools/tests/py-types.spec.ts

+ 4 - 4
packages/core/tools/tests/py-types.spec.ts

@@ -477,10 +477,10 @@ describe('renderToolsSdkPy', () => {
     // instead of at a head: CPython reads XID_Continue out of the
     // `DerivedCoreProperties.txt` of the UCD it was built against (13.0.0 on
     // 3.9.6 and 15.0.0 on 3.12.13 both lack the row, and
-    // `'a\u200Cb'.isidentifier()` is False on both, measured). Two emitted
-    // positions then need 15.1 tables or newer: the bare field, once in each
-    // class, and the `Tool\u200CbArgs` class name. The subscript comment
-    // quoting the tool name is not one: it is not parsed as an identifier.
+    // `'a\u200Cb'.isidentifier()` is False on both, measured). What then needs
+    // 15.1 tables or newer is the bare field, once in each class, and the
+    // `Tool\u200CbArgs` class name. The subscript comment quoting the tool name
+    // is not one of them: it is not parsed as an identifier.
     const of = (name: string): ToolSdkSchema => ({
       name,
       description: `Tool ${name}.`,