Skip to content

Commit

Permalink
Remove operation form assert
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandr Samylkin committed Apr 21, 2017
1 parent fea29fa commit b5b5654
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,11 +303,11 @@ func TestCalculator_Errors(t *testing.T) {
t.Parallel()

_, err := newCalculator(NewStaticProvider(map[string]string{
"Op": "^", "Left": "3", "Right": "5"
"Op": ".", "Left": "3", "Right": "5"
}))

require.Error(t, err)
assert.Contains(t, err.Error(), `unknown operation "^"`)
assert.Contains(t, err.Error(), `unknown operation`)
}
```

Expand Down

0 comments on commit b5b5654

Please sign in to comment.