Sign in
go
/
tools
/
67611a11a1be5466d372eba4e925d97290929ef4
/
.
/
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
}