Skip to content

Commit

Permalink
fix tests after modifying error message
Browse files Browse the repository at this point in the history
  • Loading branch information
BinaryFissionGames committed Feb 16, 2024
1 parent eed4db3 commit 481f577
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/ottl/ottlfuncs/func_parse_csv_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ func Test_ParseCSV(t *testing.T) {
},
},
},
parseError: "error getting value in ottl.StandardStringGetter[interface {}]: cannot get",
parseError: "error getting value for target in ParseCSV: error getting value in ottl.StandardStringGetter[interface {}]: cannot get",
},
{
name: "Invalid header (strict mode)",
Expand All @@ -278,7 +278,7 @@ func Test_ParseCSV(t *testing.T) {
},
},
},
parseError: "error getting value in ottl.StandardStringGetter[interface {}]: cannot get",
parseError: "error getting value for header in ParseCSV: error getting value in ottl.StandardStringGetter[interface {}]: cannot get",
},
{
name: "Invalid args",
Expand Down Expand Up @@ -443,7 +443,7 @@ func Test_ParseCSV(t *testing.T) {
},
Mode: ottl.NewTestingOptional("ignoreQuotes"),
},
parseError: "error getting value in ottl.StandardStringGetter[interface {}]: cannot get",
parseError: "error getting value for target in ParseCSV: error getting value in ottl.StandardStringGetter[interface {}]: cannot get",
},
{
name: "Invalid header (ignoreQuotes mode)",
Expand All @@ -460,7 +460,7 @@ func Test_ParseCSV(t *testing.T) {
},
Mode: ottl.NewTestingOptional("ignoreQuotes"),
},
parseError: "error getting value in ottl.StandardStringGetter[interface {}]: cannot get",
parseError: "error getting value for header in ParseCSV: error getting value in ottl.StandardStringGetter[interface {}]: cannot get",
},
{
name: "Empty header string (ignoreQuotes)",
Expand Down

0 comments on commit 481f577

Please sign in to comment.