Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
inclyc committed Nov 19, 2024
1 parent f05b086 commit 17db329
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 23 deletions.
11 changes: 0 additions & 11 deletions nixd/tools/nixd-attrset-eval/test/builtin-completion.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
# RUN: nixd-attrset-eval --lit-test < %s | FileCheck %s


```json
{
"jsonrpc":"2.0",
"id":0,
"method":"attrset/evalExpr",
"params": "{ py1 = 1; py2 = 2; py3 = 3; }"
}
```


```json
{
"jsonrpc":"2.0",
Expand Down Expand Up @@ -64,4 +54,3 @@ CHECK-NEXT: ]
```json
{"jsonrpc":"2.0","method":"exit"}
```

13 changes: 1 addition & 12 deletions nixd/tools/nixd-attrset-eval/test/builtin-info.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
# RUN: nixd-attrset-eval --lit-test < %s | FileCheck %s


```json
{
"jsonrpc":"2.0",
"id":0,
"method":"attrset/evalExpr",
"params": "{ hello.meta.description = \"A program that produces a familiar, friendly greeting\"; }"
}
```


```json
{
"jsonrpc":"2.0",
Expand All @@ -25,12 +15,11 @@
CHECK-NEXT: "jsonrpc": "2.0",
CHECK-NEXT: "result": {
CHECK-NEXT: "arity": 2,
CHECK-NEXT: "doc": "\n Return `true` if the function *pred* returns `true` for at least one\n element of *list*, and `false` otherwise.\n "
CHECK-NEXT: "doc": "{{.*}}"
CHECK-NEXT: }
CHECK-NEXT:}
```

```json
{"jsonrpc":"2.0","method":"exit"}
```

0 comments on commit 17db329

Please sign in to comment.