test: add more tests (#1138)

This commit is contained in:
Kevin Wan
2021-10-15 16:27:30 +08:00
committed by GitHub
parent c92ea59228
commit 265b1f2459
2 changed files with 38 additions and 0 deletions

View File

@@ -209,6 +209,12 @@ func TestRepr(t *testing.T) {
newMockPtr(),
"mockptr",
},
{
&mockOpacity{
val: 1,
},
"{1}",
},
{
true,
"true",