Skip to content

Commit 436ded2

Browse files
authored
internal: Fix a test with non-ascii key name (#3604)
Follow up to #3567 (comment)
1 parent aa1abae commit 436ded2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

bundle/config/mutator/log_resource_references_test.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ func TestConvertReferenceToMetric_Table(t *testing.T) {
2222
},
2323
},
2424
},
25+
"джоб": {
26+
JobSettings: jobs.JobSettings{},
27+
},
28+
2529
"niljob": nil,
2630
},
2731
Apps: map[string]*cres.App{
@@ -47,7 +51,7 @@ func TestConvertReferenceToMetric_Table(t *testing.T) {
4751
{
4852
name: "basic job id with non-ascii key",
4953
ref: "resources.jobs.джоб.id",
50-
want: "resreferr_jobs",
54+
want: "resref_jobs.id",
5155
},
5256
{
5357
name: "invalid empty",

0 commit comments

Comments
 (0)