Skip to content

Commit

Permalink
Verify whitespace separator not required for '||'
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesls committed Jul 8, 2013
1 parent e95eb3e commit ba4d283
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions tests/compliance/ormatch.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,41 @@
"expression": "outer.foo || outer.bar",
"result": "foo"
},
{
"expression": "outer.foo||outer.bar",
"result": "foo"
},
{
"expression": "outer.bar || outer.baz",
"result": "bar"
},
{
"expression": "outer.bar||outer.baz",
"result": "bar"
},
{
"expression": "outer.bad || outer.foo",
"result": "foo"
},
{
"expression": "outer.bad||outer.foo",
"result": "foo"
},
{
"expression": "outer.foo || outer.bad",
"result": "foo"
},
{
"expression": "outer.foo||outer.bad",
"result": "foo"
},
{
"expression": "outer.bad || outer.alsobad",
"result": null
},
{
"expression": "outer.bad||outer.alsobad",
"result": null
}
]
}]

0 comments on commit ba4d283

Please sign in to comment.