From d29338817220c19536bed5367faef01764cb79e5 Mon Sep 17 00:00:00 2001 From: Max Schaefer Date: Fri, 24 Jan 2020 16:20:08 +0000 Subject: [PATCH] Add failing test case for RedundantExpr. --- ql/test/query-tests/RedundantCode/RedundantExpr/tst.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ql/test/query-tests/RedundantCode/RedundantExpr/tst.go b/ql/test/query-tests/RedundantCode/RedundantExpr/tst.go index 1b2f59c922c..e4106fb7bfa 100644 --- a/ql/test/query-tests/RedundantCode/RedundantExpr/tst.go +++ b/ql/test/query-tests/RedundantCode/RedundantExpr/tst.go @@ -24,5 +24,7 @@ func baz(b bool) int { } func main() { - foo(42) + if c == '\xA8' || c == '\xA9' { + foo(42) + } }