go/analysis/passes/stringintconv/testdata/src/fix/fixdot.go.golden
raw| 1 | -- Format the number as a decimal -- |
| 2 | package fix |
| 3 | |
| 4 | import . "fmt" |
| 5 | |
| 6 | func _(x uint64) { |
| 7 | Println(Sprint(x)) // want `conversion from uint64 to string yields...` |
| 8 | } |
| 9 | |
| 10 | -- Convert a single rune to a string -- |
| 11 | package fix |
| 12 | |
| 13 | import . "fmt" |
| 14 | |
| 15 | func _(x uint64) { |
| 16 | Println(string(rune(x))) // want `conversion from uint64 to string yields...` |
| 17 | } |
| 18 |