Skip to content

Figure out what's wrong with path parsing #122

Description

@arduano

These 2 test cases:

        assert_eq!(
            eval_ok("builtins.baseNameOf /foo/bar/baz/"),
            Value::Str("baz".into())
        );
        assert_eq!(
            eval_ok("(builtins.baseNameOf (/foo/bar/baz/))"),
            Value::Str("baz".into())
        );

Produce some very weird/unexpected results, including a panic on the second one.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions