Skip to content

Commit 3f7dd38

Browse files
committed
update test case
1 parent f36589a commit 3f7dd38

File tree

1 file changed

+7
-4
lines changed
  • relay-event-normalization/src/eap

1 file changed

+7
-4
lines changed

relay-event-normalization/src/eap/mod.rs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1313,14 +1313,17 @@ mod tests {
13131313
},
13141314
"url.full": {
13151315
"type": "string",
1316-
"value": "http://192.168.1.1:3000"
1316+
"value": "https://application.www.xn--85x722f.xn--55qx5d.cn"
13171317
}
13181318
}
13191319
"#,
13201320
)
13211321
.unwrap();
13221322

1323-
normalize_http_attributes(&mut attributes, &["192.168.1.1".to_owned()]);
1323+
normalize_http_attributes(
1324+
&mut attributes,
1325+
&["application.www.xn--85x722f.xn--55qx5d.cn".to_owned()],
1326+
);
13241327

13251328
insta::assert_json_snapshot!(SerializableAnnotated(&attributes), @r#"
13261329
{
@@ -1334,11 +1337,11 @@ mod tests {
13341337
},
13351338
"server.address": {
13361339
"type": "string",
1337-
"value": "192.168.1.1:3000"
1340+
"value": "application.www.xn--85x722f.xn--55qx5d.cn"
13381341
},
13391342
"url.full": {
13401343
"type": "string",
1341-
"value": "http://192.168.1.1:3000"
1344+
"value": "https://application.www.xn--85x722f.xn--55qx5d.cn"
13421345
}
13431346
}
13441347
"#);

0 commit comments

Comments
 (0)