mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-11 22:43:40 +00:00
reflect: Fix Kind(-1).String() and enable test
This commit is contained in:
@@ -8021,6 +8021,8 @@ func TestIssue50208(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
func TestNegativeKindString(t *testing.T) {
|
||||
x := -1
|
||||
s := Kind(x).String()
|
||||
@@ -8030,8 +8032,6 @@ func TestNegativeKindString(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
type (
|
||||
namedBool bool
|
||||
namedBytes []byte
|
||||
|
||||
Reference in New Issue
Block a user