style usages part one (openarray => openArray) (#19321)
* style usages (openArray) * revert doc changes
This commit is contained in:
parent
1869826668
commit
9df195ef58
49 changed files with 76 additions and 76 deletions
|
|
@ -76,7 +76,7 @@ suite "Integration with Nim":
|
|||
check(input3.toLangSymbol == expected)
|
||||
|
||||
test "advanced proc parsing with Nim identifier normalization":
|
||||
let input = """`proc binarySearch*[T, K](a: openArray[T]; key: K;
|
||||
let input = """`proc binarySearch*[T, K](a: openarray[T]; key: K;
|
||||
cmp: proc (x: T; y: K): int)`_""".rstParseTest
|
||||
let expected = LangSymbol(symKind: "proc",
|
||||
name: "binarysearch",
|
||||
|
|
@ -90,7 +90,7 @@ suite "Integration with Nim":
|
|||
check(input.toLangSymbol == expected)
|
||||
|
||||
test "the same without proc":
|
||||
let input = """`binarySearch*[T, K](a: openArray[T]; key: K;
|
||||
let input = """`binarySearch*[T, K](a: openarray[T]; key: K;
|
||||
cmp: proc (x: T; y: K): int {.closure.})`_""".rstParseTest
|
||||
let expected = LangSymbol(symKind: "",
|
||||
name: "binarysearch",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue