Describe the bug
Construction of the path type by parts (from a list) should use the is_uri function instead of inventing its own logic.
Expected Behaviour
We should have unit tests covering this, and
|
} else if parts[0].contains("://") { |
shouldn't use the
parts[0].contains("://") logic, it should be consistent with other uri checks.
Current Behaviour
Inconsistent behavior for uri paths.
Reproduction Steps
Environment
Describe the bug
Construction of the path type by parts (from a list) should use the is_uri function instead of inventing its own logic.
Expected Behaviour
We should have unit tests covering this, and
openjd-rs/crates/openjd-expr/src/functions/misc.rs
Line 148 in deb6d40
parts[0].contains("://")logic, it should be consistent with other uri checks.Current Behaviour
Inconsistent behavior for uri paths.
Reproduction Steps
Environment