Skip to content

Commit 224d6bf

Browse files
committed
fix unit test
1 parent 21aee44 commit 224d6bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/dsc-lib/src/functions/resource_id.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ mod tests {
8484
#[test]
8585
fn valid_name_with_slashes() {
8686
let mut parser = Statement::new().unwrap();
87-
let result = parser.parse_and_execute("[resourceId('a','b/c')]", &Context::new()).unwrap();
88-
assert_eq!(result, "a:b%2Fc");
87+
let result = parser.parse_and_execute("[resourceId('a/a','b/c/d')]", &Context::new()).unwrap();
88+
assert_eq!(result, "a/a:b%2Fc%2Fd");
8989
}
9090

9191
#[test]

0 commit comments

Comments
 (0)