Index: client/flagpb/unmarshal_test.go |
diff --git a/client/flagpb/unmarshal_test.go b/client/flagpb/unmarshal_test.go |
index d441d069d2b55afab88e16b8ba43946e2280e056..790290303c38cb16dd9d1557164147c87008fb3f 100644 |
--- a/client/flagpb/unmarshal_test.go |
+++ b/client/flagpb/unmarshal_test.go |
@@ -94,6 +94,9 @@ func TestUnmarshal(t *testing.T) { |
"s", "x", |
)) |
}) |
+ Convey("without value, repeated", func() { |
+ So(unmarshalOK("M1", "-rb=false", "-rb"), ShouldResemble, msg("rb", repeated(false, true))) |
+ }) |
Convey("with value", func() { |
So(unmarshalOK("M1", "-b=true"), ShouldResemble, msg("b", true)) |
So(unmarshalOK("M1", "-b=false"), ShouldResemble, msg("b", false)) |