Skip to content

Commit

Permalink
added test
Browse files Browse the repository at this point in the history
  • Loading branch information
azizghuloum committed Nov 26, 2024
1 parent 69438cd commit c05eb31
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
18 changes: 18 additions & 0 deletions examples/object-pattern-1.ts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
## `object-pattern-1.ts`

### Status: `DONE`

### Input Program

```typescript
using_syntax_rules(
[foo, {foo: x}, x + 2]
).rewrite({foo: 1})
```

### Output Program

```typescript
1 + 2;
```

3 changes: 3 additions & 0 deletions tests/object-pattern-1.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
using_syntax_rules(
[foo, {foo: x}, x + 2]
).rewrite({foo: 1})

0 comments on commit c05eb31

Please sign in to comment.