Sign in
go
/
tools
/
75a6f91e26f6860d2d2ff1fa2ff501d20fbf0b9b
/
.
/
refactor
/
eg
/
testdata
/
bad_type.template
blob: 6d53d7e5709a10bb9959a036183ee1c9d5a43057 [
file
] [
log
] [
blame
]
package
template
// Test in which replacement has a different type.
const
shouldFail
=
"int is not a safe replacement for string"
func before
()
interface
{}
{
return
"three"
}
func after
()
interface
{}
{
return
3
}