Skip to content

Commit

Permalink
Number merge diff test.
Browse files Browse the repository at this point in the history
  • Loading branch information
josephburnett committed May 15, 2022
1 parent c410a55 commit e1330fa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/number_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ func TestNumberDiff(t *testing.T) {
checkDiff(ctx, `0`, ``,
`@ []`,
`- 0`)
ctx = ctx.withMetadata(MERGE)
checkDiff(ctx, `1`, `2`,
`@ [["merge"]]`,
`+ 2`)
}

func TestNumberPatch(t *testing.T) {
Expand Down

0 comments on commit e1330fa

Please sign in to comment.