Sign in
go
/
tools
/
6a387a400b7de86c9e97f1e0432973cdaa32c2ac
/
.
/
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
}