@@ -799,17 +799,17 @@ func TestUnmarshalCustomTypeAttributes(t *testing.T) {
799799 }
800800
801801 if expected , actual := customInt , customAttributeTypes .Int ; expected != actual {
802- t .Fatalf ("Was expecting custom int to be `%s `, got `%s `" , expected , actual )
802+ t .Fatalf ("Was expecting custom int to be `%d `, got `%d `" , expected , actual )
803803 }
804804 if expected , actual := customInt , * customAttributeTypes .IntPtr ; expected != actual {
805- t .Fatalf ("Was expecting custom int pointer to be `%s `, got `%s `" , expected , actual )
805+ t .Fatalf ("Was expecting custom int pointer to be `%d `, got `%d `" , expected , actual )
806806 }
807807 if customAttributeTypes .IntPtrNull != nil {
808- t .Fatalf ("Was expecting custom int pointer to be <nil>, got `%s `" , customAttributeTypes .IntPtrNull )
808+ t .Fatalf ("Was expecting custom int pointer to be <nil>, got `%d `" , customAttributeTypes .IntPtrNull )
809809 }
810810
811811 if expected , actual := customFloat , customAttributeTypes .Float ; expected != actual {
812- t .Fatalf ("Was expecting custom float to be `%s `, got `%s `" , expected , actual )
812+ t .Fatalf ("Was expecting custom float to be `%f `, got `%f `" , expected , actual )
813813 }
814814 if expected , actual := customString , customAttributeTypes .String ; expected != actual {
815815 t .Fatalf ("Was expecting custom string to be `%s`, got `%s`" , expected , actual )
0 commit comments