another bit of cleanup

This commit is contained in:
shati-patel
2021-05-26 12:38:40 +01:00
parent 419e69b2b5
commit 041c07463f

View File

@@ -828,9 +828,9 @@ fn escape_key_test() {
assert_eq!("foo{}", escape_key("foo{}"));
assert_eq!("{}", escape_key("{}"));
assert_eq!("", escape_key(""));
assert_eq!("/path/to/foo.rb", escape_key("/path/to/foo.rb"));
assert_eq!("/path/to/foo.ql", escape_key("/path/to/foo.ql"));
assert_eq!(
"/path/to/foo&{}"@#.rb",
escape_key("/path/to/foo&{}\"@#.rb")
"/path/to/foo&{}"@#.ql",
escape_key("/path/to/foo&{}\"@#.ql")
);
}