m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/__tests__/parser.test.js
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2017-08-22 15:19:56 -0400
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2017-08-22 15:19:56 -0400
commit845ed56bb448e52a7f708504b91a6c5d492f228d (patch)
tree0026f5a04f20fc1be718faf1b863e67ad7b9d6f5 /__tests__/parser.test.js
parenta31c3a1fd44a37cf0fcfff8c1cc52792565247b3 (diff)
parent034d62f90d9c748f38209991c812692e5a99bbd9 (diff)
Merge branch 'addToken' into bonus
Diffstat (limited to '__tests__/parser.test.js')
-rw-r--r--__tests__/parser.test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/__tests__/parser.test.js b/__tests__/parser.test.js
index fb554f9..bc88894 100644
--- a/__tests__/parser.test.js
+++ b/__tests__/parser.test.js
@@ -152,8 +152,8 @@ describe('parse', () => {
})
})
- test('2d(6+3)d4', () => {
- expect(parse('2d(6+3)d4')).toEqual({
+ test('2d(6 + 3)d4', () => {
+ expect(parse('2d(6 + 3)d4')).toEqual({
type: 'd',
left: { type: 'constant', value: 2 },
right: {