summaryrefslogtreecommitdiff
path: root/parse_test.go
diff options
context:
space:
mode:
authorAlex Flint <[email protected]>2019-08-06 16:00:13 -0700
committerAlex Flint <[email protected]>2019-08-06 16:00:13 -0700
commitfcdfbc090b3262d6d078337b5de78fe1038a41ba (patch)
tree73aa790ccacc3c7074fe92a1e0f2494ee8d03d03 /parse_test.go
parent990e87d80d9989dd2fbac4db21c8527e1f17cea3 (diff)
fix comment
Diffstat (limited to 'parse_test.go')
-rw-r--r--parse_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/parse_test.go b/parse_test.go
index c18dc16..882564e 100644
--- a/parse_test.go
+++ b/parse_test.go
@@ -887,7 +887,9 @@ func TestEmbeddedPtr(t *testing.T) {
}
func TestEmbeddedPtrIgnored(t *testing.T) {
- // embedded pointer fields are not supported but here we
+ // embedded pointer fields are not normally supported but here
+ // we explicitly exclude it so the non-nil embedded structs
+ // should work as expected
var args struct {
*A `arg:"-"`
B