Index: service/datastore/properties_test.go |
diff --git a/service/datastore/properties_test.go b/service/datastore/properties_test.go |
index 2dc8851fd3f3e8156feeb4b34a18d3b2e10e881c..4e7a9bd6f764dfc9ecb6d2f225ae41323050df5a 100644 |
--- a/service/datastore/properties_test.go |
+++ b/service/datastore/properties_test.go |
@@ -124,6 +124,14 @@ func TestProperties(t *testing.T) { |
So(pv.Type().String(), ShouldEqual, "PTBytes") |
}) |
}) |
+ |
+ Convey("Comparison", func() { |
+ Convey(`A []byte property should equal a string property with the same value.`, func() { |
+ a := MkProperty([]byte("ohaithere")) |
+ b := MkProperty("ohaithere") |
+ So(a.Equal(&b), ShouldBeTrue) |
+ }) |
+ }) |
}) |
} |