mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-18 16:58:34 +02:00
Replace interface{} by any (#901)
Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
|
||||
// TestTextRenderer tests the text renderer.
|
||||
func TestNewTextRenderer(t *testing.T) {
|
||||
tData := map[string]interface{}{
|
||||
tData := map[string]any{
|
||||
"foo": "bar",
|
||||
}
|
||||
tr := NewTextRenderer(filesystem.DefaultFileSystem(), ".", tData)
|
||||
@@ -20,7 +20,7 @@ func TestNewTextRenderer(t *testing.T) {
|
||||
|
||||
// TestTextRenderer tests the text renderer.
|
||||
func TestTextRender(t *testing.T) {
|
||||
tData := map[string]interface{}{
|
||||
tData := map[string]any{
|
||||
"foot": "bart",
|
||||
}
|
||||
tr := NewTextRenderer(filesystem.DefaultFileSystem(), ".", tData)
|
||||
|
||||
Reference in New Issue
Block a user