Skip to content

Commit

Permalink
(a bit more compact test expr)
Browse files Browse the repository at this point in the history
  • Loading branch information
vthriller committed Jan 12, 2018
1 parent d46f3f0 commit 907bce2
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,20 +167,12 @@ mod tests {
expression(&b"foo > bar != 0 and 15.5 < xyzzy"[..]),
Done(&b""[..], operator(
operator(
operator(
vector("foo"),
Gt,
vector("bar")
),
operator(vector("foo"), Gt, vector("bar")),
Ne,
Scalar(0.)
),
And,
operator(
Scalar(15.5),
Lt,
vector("xyzzy")
)
operator(Scalar(15.5), Lt, vector("xyzzy")),
))
);

Expand Down

0 comments on commit 907bce2

Please sign in to comment.