Skip to content

Commit d389a61

Browse files
shmsrantonmedv
authored andcommitted
Add test case for #123
1 parent 05a8d87 commit d389a61

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

expr_test.go

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,14 @@ func TestExpr(t *testing.T) {
628628
`One in 0..1 && Two not in 0..1`,
629629
true,
630630
},
631+
{
632+
`Two not in 0..1`,
633+
true,
634+
},
635+
{
636+
`Two not in 0..1`,
637+
true,
638+
},
631639
{
632640
`Int32 in [10, 20]`,
633641
false,
@@ -1326,7 +1334,6 @@ func (p *stringerPatcher) Exit(node *ast.Node) {
13261334
Method: "String",
13271335
})
13281336
}
1329-
13301337
}
13311338

13321339
type lengthPatcher struct{}

0 commit comments

Comments
 (0)