Sign in
go
/
tools
/
0522b6e926c1b9b28f212087d4b6fe920511e6c3
/
.
/
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
}